Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 108.3 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 190.6 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.282/2.282, allocations: 443.5 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 63.88 kB / 1.059 GB, free: 1.027 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2452, allocations: 160.7 MB / 1.215 GB, free: 4 kB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6513/0.8965, allocations: 163.1 MB / 1.375 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004413/0.9009, allocations: 2.928 MB / 1.378 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005681/0.9015, allocations: 19.25 kB / 1.378 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007042/0.9022, allocations: 213.6 kB / 1.378 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.904, allocations: 0.8005 MB / 1.379 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007528/0.9048, allocations: 345.2 kB / 1.379 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.9058, allocations: 0.9496 MB / 1.38 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.9061, allocations: 216.4 kB / 1.38 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004931/0.9066, allocations: 359.9 kB / 1.38 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007529/0.9074, allocations: 302.7 kB / 1.381 GB, free: 9.961 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.9074, allocations: 36.81 kB / 1.381 GB, free: 9.957 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.9085, allocations: 0.6893 MB / 1.381 GB, free: 9.684 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.9086, allocations: 134.9 kB / 1.382 GB, free: 9.621 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.9088, allocations: 216.3 kB / 1.382 GB, free: 9.496 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009379/0.9097, allocations: 0.7499 MB / 1.382 GB, free: 9.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.9098, allocations: 4 kB / 1.382 GB, free: 9.227 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9098, allocations: 5.094 kB / 1.382 GB, free: 9.223 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.9098, allocations: 0 / 1.382 GB, free: 9.223 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001046/0.9108, allocations: 0.7211 MB / 1.383 GB, free: 8.645 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.9108, allocations: 8.75 kB / 1.383 GB, free: 8.645 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.784e-05/0.9109, allocations: 66.33 kB / 1.383 GB, free: 8.586 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008971/0.9118, allocations: 139.7 kB / 1.383 GB, free: 8.551 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.9124, allocations: 426.5 kB / 1.384 GB, free: 8.223 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.9124, allocations: 18.84 kB / 1.384 GB, free: 8.215 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.9124, allocations: 23.88 kB / 1.384 GB, free: 8.207 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.9129, allocations: 278.6 kB / 1.384 GB, free: 8.027 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.9129, allocations: 5 kB / 1.384 GB, free: 8.023 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.9129, allocations: 10.28 kB / 1.384 GB, free: 8.016 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.913, allocations: 9.594 kB / 1.384 GB, free: 8.016 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.9133, allocations: 202.5 kB / 1.384 GB, free: 7.914 MB / 1.061 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.001705/0.915, allocations: 1.327 MB / 1.386 GB, free: 6.672 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.9154, allocations: 184.7 kB / 1.386 GB, free: 6.566 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.9155, allocations: 84.52 kB / 1.386 GB, free: 6.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.9155, allocations: 2.625 kB / 1.386 GB, free: 6.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.9155, allocations: 31.91 kB / 1.386 GB, free: 6.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.9155, allocations: 0 / 1.386 GB, free: 6.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0009046/0.9164, allocations: 411 kB / 1.386 GB, free: 6.199 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.9165, allocations: 53.69 kB / 1.386 GB, free: 6.137 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.9168, allocations: 299.1 kB / 1.387 GB, free: 5.938 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.9168, allocations: 26.73 kB / 1.387 GB, free: 5.906 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.917, allocations: 194.4 kB / 1.387 GB, free: 5.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.917, allocations: 76.41 kB / 1.387 GB, free: 5.664 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.9171, allocations: 45.14 kB / 1.387 GB, free: 5.629 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.9172, allocations: 337.9 kB / 1.387 GB, free: 5.297 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.9173, allocations: 63.31 kB / 1.387 GB, free: 5.266 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.9175, allocations: 111 kB / 1.387 GB, free: 5.176 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.9177, allocations: 203.2 kB / 1.388 GB, free: 5.031 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.9177, allocations: 0 / 1.388 GB, free: 5.031 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000357/0.9181, allocations: 249.5 kB / 1.388 GB, free: 4.891 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.9181, allocations: 13.73 kB / 1.388 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.9181, allocations: 2.281 kB / 1.388 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.9181, allocations: 2.25 kB / 1.388 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.9183, allocations: 42.98 kB / 1.388 GB, free: 4.875 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.9183, allocations: 3.406 kB / 1.388 GB, free: 4.875 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.9186, allocations: 20.45 kB / 1.388 GB, free: 4.859 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.9186, allocations: 11.53 kB / 1.388 GB, free: 4.855 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.9187, allocations: 166.5 kB / 1.388 GB, free: 4.703 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.9188, allocations: 34.97 kB / 1.388 GB, free: 4.684 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.028e-05/0.9189, allocations: 35.11 kB / 1.388 GB, free: 4.648 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.9189, allocations: 2.188 kB / 1.388 GB, free: 4.648 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.9189, allocations: 5.188 kB / 1.388 GB, free: 4.645 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.9189, allocations: 0 / 1.388 GB, free: 4.645 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.9194, allocations: 406.3 kB / 1.389 GB, free: 4.285 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.9194, allocations: 2.625 kB / 1.389 GB, free: 4.285 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.9196, allocations: 37.64 kB / 1.389 GB, free: 4.273 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001948/0.9197, allocations: 47.39 kB / 1.389 GB, free: 4.242 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.9198, allocations: 5.031 kB / 1.389 GB, free: 4.238 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.921, allocations: 1.514 MB / 1.39 GB, free: 2.715 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.921, allocations: 0 / 1.39 GB, free: 2.715 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.9216, allocations: 402.6 kB / 1.391 GB, free: 2.438 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.9217, allocations: 127.2 kB / 1.391 GB, free: 2.309 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.9217, allocations: 14.31 kB / 1.391 GB, free: 2.297 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.922, allocations: 6.406 kB / 1.391 GB, free: 2.293 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.922, allocations: 13.5 kB / 1.391 GB, free: 2.285 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.922, allocations: 5.344 kB / 1.391 GB, free: 2.285 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002137/0.9222, allocations: 216.3 kB / 1.391 GB, free: 2.145 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9222, allocations: 0 / 1.391 GB, free: 2.145 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003891/0.9226, allocations: 108.4 kB / 1.391 GB, free: 2.125 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008833/0.9235, allocations: 0.9462 MB / 1.392 GB, free: 1.309 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002738/0.9238, allocations: 156.3 kB / 1.392 GB, free: 1.238 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9238, allocations: 0 / 1.392 GB, free: 1.238 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.9241, allocations: 199.3 kB / 1.392 GB, free: 1.082 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009149/0.925, allocations: 200.2 kB / 1.392 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.9283, allocations: 2.936 MB / 1.395 GB, free: 14.78 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.9287, allocations: 0.7964 MB / 1.396 GB, free: 14.03 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002183/0.929, allocations: 60.86 kB / 1.396 GB, free: 14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.9291, allocations: 106.2 kB / 1.396 GB, free: 13.91 MB / 1.076 GB Notification: Performance of SimCode: time 7.01e-07/0.9291, allocations: 4 kB / 1.396 GB, free: 13.91 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03583/0.965, allocations: 9.052 MB / 1.405 GB, free: 9.484 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.066/10.03, allocations: 5.25 kB / 1.405 GB, free: 9.484 MB / 1.076 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv --start-time 0 --stop-time 10800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.32 Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable vol.T_start in file Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable vol.T_start from file Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! Error: Could not read variable vol.T in file Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable vol.T from file Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! Error: Could not read variable TOut.T in file Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable TOut.T from file Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.113271012000041]