Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.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.001881/0.001881, allocations: 109 kB / 16.45 MB, free: 6.496 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.002148/0.002148, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.45/1.45, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] 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.502/2.502, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 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.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.91 kB / 1.056 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7673/0.7693, allocations: 160.7 MB / 1.213 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2375/1.007, allocations: 193.3 MB / 1.402 GB, free: 6.195 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.007006/1.014, allocations: 4.019 MB / 1.406 GB, free: 2.168 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/1.015, allocations: 23.88 kB / 1.406 GB, free: 2.145 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/1.017, allocations: 489 kB / 1.406 GB, free: 1.664 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004222/1.021, allocations: 1.591 MB / 1.408 GB, free: 68 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004051/1.025, allocations: 1.388 MB / 1.409 GB, free: 14.68 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002717/1.028, allocations: 1.635 MB / 1.411 GB, free: 13.04 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/1.029, allocations: 0.865 MB / 1.411 GB, free: 12.16 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/1.031, allocations: 0.9424 MB / 1.412 GB, free: 11.21 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/1.033, allocations: 0.9306 MB / 1.413 GB, free: 10.28 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003402/1.033, allocations: 99.94 kB / 1.413 GB, free: 10.18 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003046/1.036, allocations: 1.387 MB / 1.415 GB, free: 8.793 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006178/1.037, allocations: 378.8 kB / 1.415 GB, free: 8.422 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/1.038, allocations: 0.5172 MB / 1.416 GB, free: 7.902 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00353/1.041, allocations: 1.666 MB / 1.417 GB, free: 6.23 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.041, allocations: 0 / 1.417 GB, free: 6.23 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.503e-06/1.041, allocations: 0 / 1.417 GB, free: 6.23 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.249e-05/1.041, allocations: 0 / 1.417 GB, free: 6.23 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003341/1.044, allocations: 1.264 MB / 1.418 GB, free: 4.914 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.045, allocations: 12.62 kB / 1.418 GB, free: 4.902 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/1.045, allocations: 86.52 kB / 1.419 GB, free: 4.809 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/1.046, allocations: 251.2 kB / 1.419 GB, free: 4.562 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/1.048, allocations: 0.6194 MB / 1.419 GB, free: 3.898 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/1.048, allocations: 40.94 kB / 1.419 GB, free: 3.855 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/1.048, allocations: 52 kB / 1.419 GB, free: 3.805 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/1.05, allocations: 0.9999 MB / 1.42 GB, free: 2.738 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/1.05, allocations: 11.89 kB / 1.42 GB, free: 2.727 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.989e-05/1.05, allocations: 23.98 kB / 1.42 GB, free: 2.703 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.866e-05/1.05, allocations: 35.92 kB / 1.421 GB, free: 2.668 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/1.051, allocations: 1.007 MB / 1.422 GB, free: 1.66 MB / 1.123 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.006047/1.057, allocations: 4.118 MB / 1.426 GB, free: 13.37 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/1.059, allocations: 0.5626 MB / 1.426 GB, free: 12.8 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008041/1.059, allocations: 485.9 kB / 1.427 GB, free: 12.32 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/1.061, allocations: 0.8783 MB / 1.427 GB, free: 11.26 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/1.061, allocations: 39 kB / 1.427 GB, free: 11.21 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002497/1.063, allocations: 0.6283 MB / 1.428 GB, free: 10.58 MB / 1.139 GB Notification: Performance of pre-optimization done (n=50): time 4.037e-06/1.063, allocations: 0 / 1.428 GB, free: 10.58 MB / 1.139 GB Notification: Performance of matching and sorting (n=50): time 0.01792/1.081, allocations: 3.841 MB / 1.432 GB, free: 6.691 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/1.081, allocations: 55.84 kB / 1.432 GB, free: 6.625 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/1.082, allocations: 0.7155 MB / 1.433 GB, free: 5.898 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001579/1.082, allocations: 37.7 kB / 1.433 GB, free: 5.855 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/1.083, allocations: 317 kB / 1.433 GB, free: 5.543 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/1.083, allocations: 190.3 kB / 1.433 GB, free: 5.355 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/1.083, allocations: 150.1 kB / 1.433 GB, free: 5.203 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.083, allocations: 322 kB / 1.434 GB, free: 4.883 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000678/1.084, allocations: 396.9 kB / 1.434 GB, free: 4.492 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007639/1.085, allocations: 485.5 kB / 1.434 GB, free: 3.992 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/1.086, allocations: 0.9219 MB / 1.435 GB, free: 3.043 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.086, allocations: 0 / 1.435 GB, free: 3.043 MB / 1.139 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01134/1.097, allocations: 2.564 MB / 1.438 GB, free: 472 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/1.097, allocations: 4 kB / 1.438 GB, free: 468 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.097, allocations: 4 kB / 1.438 GB, free: 464 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009555/1.107, allocations: 1.738 MB / 1.439 GB, free: 14.71 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/1.108, allocations: 91.86 kB / 1.44 GB, free: 14.62 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/1.121, allocations: 7.137 MB / 1.447 GB, free: 7.184 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008517/1.122, allocations: 23.98 kB / 1.447 GB, free: 7.16 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/1.122, allocations: 47.94 kB / 1.447 GB, free: 7.113 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004193/1.122, allocations: 209.7 kB / 1.447 GB, free: 6.898 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/1.122, allocations: 91.42 kB / 1.447 GB, free: 6.809 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005094/1.127, allocations: 1.722 MB / 1.449 GB, free: 5.066 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/1.127, allocations: 4 kB / 1.449 GB, free: 5.062 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.127, allocations: 7.938 kB / 1.449 GB, free: 5.055 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/1.127, allocations: 3.984 kB / 1.449 GB, free: 5.051 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/1.134, allocations: 2.536 MB / 1.451 GB, free: 2.434 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.134, allocations: 4 kB / 1.451 GB, free: 2.43 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/1.134, allocations: 91.88 kB / 1.451 GB, free: 2.34 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003384/1.138, allocations: 0.7979 MB / 1.452 GB, free: 1.535 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.978e-05/1.138, allocations: 19.94 kB / 1.452 GB, free: 1.516 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007168/1.145, allocations: 4.852 MB / 1.457 GB, free: 12.38 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.145, allocations: 8 kB / 1.457 GB, free: 12.38 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005411/1.15, allocations: 2.144 MB / 1.459 GB, free: 10.19 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005262/1.151, allocations: 232.5 kB / 1.459 GB, free: 9.941 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/1.151, allocations: 16 kB / 1.459 GB, free: 9.926 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/1.151, allocations: 23.97 kB / 1.459 GB, free: 9.902 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/1.152, allocations: 56.38 kB / 1.459 GB, free: 9.848 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/1.152, allocations: 20 kB / 1.459 GB, free: 9.828 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000652/1.152, allocations: 0.5029 MB / 1.46 GB, free: 9.332 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/1.152, allocations: 0 / 1.46 GB, free: 9.332 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009425/1.153, allocations: 287.8 kB / 1.46 GB, free: 9.051 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005915/1.159, allocations: 2.788 MB / 1.463 GB, free: 6.215 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003601/1.163, allocations: 1.406 MB / 1.464 GB, free: 4.789 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.163, allocations: 4.25 kB / 1.464 GB, free: 4.785 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001831/1.165, allocations: 0.8677 MB / 1.465 GB, free: 3.887 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/1.167, allocations: 459 kB / 1.465 GB, free: 3.438 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0302/1.197, allocations: 10.44 MB / 1.475 GB, free: 8.828 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000652/1.197, allocations: 0.9789 MB / 1.476 GB, free: 7.824 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007088/1.198, allocations: 158.6 kB / 1.477 GB, free: 7.664 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004061/1.199, allocations: 283.3 kB / 1.477 GB, free: 7.387 MB / 1.186 GB Notification: Performance of SimCode: time 1.312e-06/1.199, allocations: 4 kB / 1.477 GB, free: 7.383 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07542/1.274, allocations: 29.84 MB / 1.506 GB, free: 9.898 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/13.02, allocations: 14.66 kB / 1.506 GB, free: 9.887 MB / 1.217 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.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: 18.863152504898608]