Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.00131/0.00131, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001451/0.001451, allocations: 211.8 kB / 22.25 MB, free: 5.082 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.856/2.856, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",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.00207/0.00207, allocations: 68.2 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3637, allocations: 170 MB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2096/0.5734, allocations: 172.1 MB / 1.451 GB, free: 14.88 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02792/0.6013, allocations: 17.75 MB / 1.469 GB, free: 13.08 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.6031, allocations: 43.62 kB / 1.469 GB, free: 13.04 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.6054, allocations: 0.6012 MB / 1.469 GB, free: 12.43 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006241/0.6116, allocations: 1.851 MB / 1.471 GB, free: 10.57 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004008/0.6156, allocations: 1.507 MB / 1.473 GB, free: 9.082 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00405/0.6197, allocations: 2.926 MB / 1.476 GB, free: 6.145 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002322/0.622, allocations: 1.606 MB / 1.477 GB, free: 4.484 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00452/0.6265, allocations: 1.519 MB / 1.479 GB, free: 3.008 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.6283, allocations: 1.171 MB / 1.48 GB, free: 1.832 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003471/0.6287, allocations: 224 kB / 1.48 GB, free: 1.613 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003505/0.6322, allocations: 1.669 MB / 1.482 GB, free: 15.94 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008032/0.633, allocations: 0.8179 MB / 1.482 GB, free: 15.12 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.6345, allocations: 1.29 MB / 1.484 GB, free: 13.82 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005871/0.6404, allocations: 3.813 MB / 1.487 GB, free: 9.996 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.6404, allocations: 0 / 1.487 GB, free: 9.996 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6404, allocations: 0 / 1.487 GB, free: 9.996 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.961e-05/0.6404, allocations: 0 / 1.487 GB, free: 9.996 MB / 1.186 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.005401/0.6458, allocations: 2.986 MB / 1.49 GB, free: 6.965 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.6459, allocations: 12.03 kB / 1.49 GB, free: 6.953 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003133/0.6462, allocations: 256.8 kB / 1.491 GB, free: 6.691 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004275/0.6504, allocations: 0.6267 MB / 1.491 GB, free: 6.062 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004771/0.6552, allocations: 3.382 MB / 1.494 GB, free: 2.645 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.6553, allocations: 131.4 kB / 1.495 GB, free: 2.516 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/0.6556, allocations: 168 kB / 1.495 GB, free: 2.352 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003715/0.6593, allocations: 1.956 MB / 1.497 GB, free: 352 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.6594, allocations: 3.984 kB / 1.497 GB, free: 348 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.6595, allocations: 76 kB / 1.497 GB, free: 272 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.624e-05/0.6596, allocations: 40 kB / 1.497 GB, free: 232 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/0.6633, allocations: 2.117 MB / 1.499 GB, free: 14.11 MB / 1.201 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.6748, allocations: 6.673 MB / 1.505 GB, free: 7.086 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003367/0.6781, allocations: 1.744 MB / 1.507 GB, free: 5.344 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.6794, allocations: 0.7182 MB / 1.508 GB, free: 4.621 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004722/0.6799, allocations: 125.2 kB / 1.508 GB, free: 4.5 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001888/0.6818, allocations: 1.013 MB / 1.509 GB, free: 3.465 MB / 1.201 GB Notification: Performance of pre-optimization done (n=146): time 3.176e-06/0.6818, allocations: 0 / 1.509 GB, free: 3.465 MB / 1.201 GB Notification: Performance of matching and sorting (n=146): time 0.007372/0.6892, allocations: 2.633 MB / 1.511 GB, free: 0.8125 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.6893, allocations: 201.2 kB / 1.512 GB, free: 0.5742 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005601/0.6949, allocations: 4.13 MB / 1.516 GB, free: 12.44 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003119/0.6953, allocations: 57.7 kB / 1.516 GB, free: 12.38 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009162/0.6962, allocations: 0.9117 MB / 1.517 GB, free: 11.46 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005247/0.6967, allocations: 0.4996 MB / 1.517 GB, free: 10.95 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004163/0.6971, allocations: 238.8 kB / 1.517 GB, free: 10.71 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002222/0.6973, allocations: 357.9 kB / 1.518 GB, free: 10.36 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.6985, allocations: 0.5804 MB / 1.518 GB, free: 9.777 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.6999, allocations: 0.8047 MB / 1.519 GB, free: 8.906 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002466/0.7024, allocations: 1.337 MB / 1.52 GB, free: 7.562 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.7024, allocations: 0 / 1.52 GB, free: 7.562 MB / 1.217 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004386/0.7068, allocations: 1.808 MB / 1.522 GB, free: 5.73 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.7068, allocations: 4 kB / 1.522 GB, free: 5.727 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.7068, allocations: 0 / 1.522 GB, free: 5.727 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.7079, allocations: 212.1 kB / 1.522 GB, free: 5.504 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.7095, allocations: 335.6 kB / 1.523 GB, free: 5.176 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007241/0.7167, allocations: 6.821 MB / 1.529 GB, free: 13.77 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/0.7189, allocations: 180.7 kB / 1.529 GB, free: 13.6 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.719, allocations: 47.97 kB / 1.529 GB, free: 13.55 MB / 1.232 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.001348/0.7204, allocations: 493.5 kB / 1.53 GB, free: 13.06 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005103/0.7209, allocations: 210.7 kB / 1.53 GB, free: 12.85 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004775/0.7257, allocations: 2.161 MB / 1.532 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.7257, allocations: 16 kB / 1.532 GB, free: 10.64 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7257, allocations: 0 / 1.532 GB, free: 10.64 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/0.7257, allocations: 11.97 kB / 1.532 GB, free: 10.63 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007672/0.7334, allocations: 4.117 MB / 1.536 GB, free: 6.449 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.7334, allocations: 0 / 1.536 GB, free: 6.449 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/0.7349, allocations: 319.5 kB / 1.537 GB, free: 6.137 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008789/0.7358, allocations: 204.1 kB / 1.537 GB, free: 5.922 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.7359, allocations: 43.95 kB / 1.537 GB, free: 5.879 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006532/0.7424, allocations: 6.847 MB / 1.544 GB, free: 14.45 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.7424, allocations: 3.984 kB / 1.544 GB, free: 14.45 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004834/0.7473, allocations: 2.041 MB / 1.546 GB, free: 12.38 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.7485, allocations: 457.9 kB / 1.546 GB, free: 11.93 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004264/0.749, allocations: 32 kB / 1.546 GB, free: 11.89 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/0.7505, allocations: 110.1 kB / 1.546 GB, free: 11.79 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/0.7508, allocations: 121.1 kB / 1.546 GB, free: 11.67 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/0.751, allocations: 71.94 kB / 1.546 GB, free: 11.6 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004284/0.7552, allocations: 3.161 MB / 1.549 GB, free: 8.445 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.7552, allocations: 0 / 1.549 GB, free: 8.445 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002773/0.758, allocations: 0.6976 MB / 1.55 GB, free: 7.746 MB / 1.248 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.008588/0.7666, allocations: 3.234 MB / 1.553 GB, free: 4.652 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004014/0.7706, allocations: 2.023 MB / 1.555 GB, free: 2.562 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/0.7706, allocations: 4.656 kB / 1.555 GB, free: 2.555 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002401/0.773, allocations: 1.368 MB / 1.557 GB, free: 1.125 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/0.7764, allocations: 0.5517 MB / 1.557 GB, free: 0.5938 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03715/0.8135, allocations: 21.26 MB / 1.578 GB, free: 11.1 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.8154, allocations: 1.543 MB / 1.579 GB, free: 9.523 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002206/0.8176, allocations: 0.5368 MB / 1.58 GB, free: 8.98 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001605/0.8192, allocations: 0.917 MB / 1.581 GB, free: 8.066 MB / 1.279 GB Notification: Performance of SimCode: time 1.703e-06/0.8192, allocations: 0 / 1.581 GB, free: 8.066 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9021/1.721, allocations: 51.15 MB / 1.631 GB, free: 307.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.63/19.35, allocations: 8.594 kB / 1.631 GB, free: 307.7 MB / 1.295 GB " [Timeout remaining time 280] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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: 26.4237971350085]