Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 98.08 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 209.2 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.303/1.303, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.939/2.939, allocations: 0.5003 GB / 0.8062 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 60.28 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2953, allocations: 179 MB / 1.345 GB, free: 492 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1839/0.4792, allocations: 172.1 MB / 1.513 GB, free: 3.676 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0214/0.5006, allocations: 17.74 MB / 1.531 GB, free: 1.883 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.5019, allocations: 43.62 kB / 1.531 GB, free: 1.84 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.5035, allocations: 0.6012 MB / 1.531 GB, free: 1.234 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004915/0.5084, allocations: 1.857 MB / 1.533 GB, free: 15.37 MB / 1.233 GB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.5118, allocations: 1.496 MB / 1.535 GB, free: 13.89 MB / 1.233 GB Notification: Performance of NFFlatten.flatten: time 0.003529/0.5154, allocations: 2.933 MB / 1.538 GB, free: 10.95 MB / 1.233 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.5177, allocations: 1.606 MB / 1.539 GB, free: 9.289 MB / 1.233 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003868/0.5216, allocations: 1.513 MB / 1.541 GB, free: 7.82 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.523, allocations: 1.159 MB / 1.542 GB, free: 6.656 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.0002898/0.5233, allocations: 224 kB / 1.542 GB, free: 6.438 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.5262, allocations: 1.665 MB / 1.544 GB, free: 4.77 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.0006948/0.5269, allocations: 0.8256 MB / 1.544 GB, free: 3.941 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.5281, allocations: 1.29 MB / 1.546 GB, free: 2.645 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.004374/0.5324, allocations: 3.81 MB / 1.549 GB, free: 14.82 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5324, allocations: 0 / 1.549 GB, free: 14.82 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5324, allocations: 0 / 1.549 GB, free: 14.82 MB / 1.248 GB Notification: Performance of Transformations before backend: time 4.504e-05/0.5325, allocations: 0 / 1.549 GB, free: 14.82 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.005016/0.5375, allocations: 2.959 MB / 1.552 GB, free: 11.82 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.5375, allocations: 12.03 kB / 1.552 GB, free: 11.8 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.628e-05/0.5376, allocations: 47.39 kB / 1.552 GB, free: 11.76 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002679/0.5378, allocations: 244.9 kB / 1.552 GB, free: 11.51 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003984/0.5418, allocations: 0.6384 MB / 1.553 GB, free: 10.87 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00408/0.5459, allocations: 3.37 MB / 1.556 GB, free: 7.461 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.546, allocations: 127.4 kB / 1.557 GB, free: 7.336 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.5462, allocations: 171.9 kB / 1.557 GB, free: 7.168 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003354/0.5496, allocations: 1.96 MB / 1.559 GB, free: 5.156 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.5496, allocations: 3.938 kB / 1.559 GB, free: 5.152 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.5498, allocations: 76 kB / 1.559 GB, free: 5.078 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.5498, allocations: 40 kB / 1.559 GB, free: 5.039 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003615/0.5534, allocations: 2.113 MB / 1.561 GB, free: 2.922 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009913/0.5633, allocations: 6.866 MB / 1.567 GB, free: 11.66 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003173/0.5665, allocations: 1.749 MB / 1.569 GB, free: 9.902 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.5677, allocations: 0.71 MB / 1.57 GB, free: 9.188 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004121/0.5682, allocations: 125.2 kB / 1.57 GB, free: 9.066 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001717/0.5699, allocations: 1.013 MB / 1.571 GB, free: 8.031 MB / 1.264 GB Notification: Performance of pre-optimization done (n=146): time 2.555e-06/0.5699, allocations: 0 / 1.571 GB, free: 8.031 MB / 1.264 GB Notification: Performance of matching and sorting (n=146): time 0.006404/0.5763, allocations: 2.629 MB / 1.574 GB, free: 5.383 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.5764, allocations: 205.2 kB / 1.574 GB, free: 5.141 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004344/0.5807, allocations: 4.098 MB / 1.578 GB, free: 1.039 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.5809, allocations: 61.7 kB / 1.578 GB, free: 0.9727 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007658/0.5817, allocations: 0.9193 MB / 1.579 GB, free: 44 kB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004324/0.5821, allocations: 0.4998 MB / 1.579 GB, free: 15.54 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00039/0.5825, allocations: 238.9 kB / 1.579 GB, free: 15.29 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5826, allocations: 353.9 kB / 1.58 GB, free: 14.94 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.5837, allocations: 0.5843 MB / 1.58 GB, free: 14.36 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.5851, allocations: 0.8086 MB / 1.581 GB, free: 13.48 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/0.5875, allocations: 1.333 MB / 1.582 GB, free: 12.14 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5875, allocations: 4 kB / 1.582 GB, free: 12.14 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003771/0.5913, allocations: 1.8 MB / 1.584 GB, free: 10.32 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5913, allocations: 11.98 kB / 1.584 GB, free: 10.31 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.5913, allocations: 4.062 kB / 1.584 GB, free: 10.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009863/0.5923, allocations: 204.1 kB / 1.584 GB, free: 10.09 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.5937, allocations: 331.5 kB / 1.585 GB, free: 9.766 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005921/0.5996, allocations: 6.829 MB / 1.591 GB, free: 2.359 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.601, allocations: 170 kB / 1.592 GB, free: 2.195 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.6011, allocations: 51.91 kB / 1.592 GB, free: 2.145 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008453/0.6019, allocations: 0.4897 MB / 1.592 GB, free: 1.645 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/0.6023, allocations: 206.7 kB / 1.592 GB, free: 1.441 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/0.6067, allocations: 2.15 MB / 1.594 GB, free: 15.26 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.6067, allocations: 16 kB / 1.594 GB, free: 15.25 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6067, allocations: 0 / 1.594 GB, free: 15.25 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.6068, allocations: 11.91 kB / 1.594 GB, free: 15.23 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006688/0.6134, allocations: 4.112 MB / 1.598 GB, free: 11.05 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6134, allocations: 0 / 1.598 GB, free: 11.05 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.6148, allocations: 315.6 kB / 1.599 GB, free: 10.75 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008307/0.6157, allocations: 204.1 kB / 1.599 GB, free: 10.53 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.755e-05/0.6158, allocations: 43.95 kB / 1.599 GB, free: 10.49 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005751/0.6215, allocations: 6.839 MB / 1.606 GB, free: 3.066 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6215, allocations: 0 / 1.606 GB, free: 3.066 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00415/0.6257, allocations: 2.033 MB / 1.608 GB, free: 1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009362/0.6266, allocations: 469.9 kB / 1.608 GB, free: 0.5391 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.6268, allocations: 31.94 kB / 1.608 GB, free: 0.5078 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.628, allocations: 111.5 kB / 1.608 GB, free: 412 kB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/0.6283, allocations: 125 kB / 1.608 GB, free: 284 kB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.6284, allocations: 71.94 kB / 1.608 GB, free: 212 kB / 1.295 GB Notification: Performance of sorting global known variables: time 0.5488/1.177, allocations: 3.148 MB / 1.611 GB, free: 259 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.81e-07/1.177, allocations: 1.812 kB / 1.611 GB, free: 259 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002082/1.179, allocations: 0.6955 MB / 1.612 GB, free: 259 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006278/1.186, allocations: 3.21 MB / 1.615 GB, free: 258.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003227/1.189, allocations: 2.017 MB / 1.617 GB, free: 257.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.189, allocations: 2.781 kB / 1.617 GB, free: 257.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001774/1.191, allocations: 1.38 MB / 1.619 GB, free: 256.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/1.193, allocations: 0.5655 MB / 1.619 GB, free: 256.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02887/1.222, allocations: 21.15 MB / 1.64 GB, free: 248.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/1.223, allocations: 1.535 MB / 1.641 GB, free: 247.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001616/1.225, allocations: 0.5242 MB / 1.642 GB, free: 247.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009644/1.226, allocations: 0.9084 MB / 1.643 GB, free: 247 MB / 1.295 GB Notification: Performance of SimCode: time 1.062e-06/1.226, allocations: 0 / 1.643 GB, free: 247 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08256/1.308, allocations: 50.96 MB / 1.692 GB, free: 203.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/16.92, allocations: 17.73 kB / 1.692 GB, free: 203.4 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.341989009990357]