Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.001383/0.001383, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001393/0.001393, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.504/2.504, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 71.89 kB / 1.107 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7363/0.738, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002063/0.7401, allocations: 1.468 MB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005768/0.7407, allocations: 392.5 kB / 1.273 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.7407, allocations: 0.9062 kB / 1.273 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.7407, allocations: 4.5 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.422e-05/0.7408, allocations: 4.75 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.7411, allocations: 116.9 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.759e-05/0.7412, allocations: 25.27 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.252e-05/0.7413, allocations: 9.609 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.671e-05/0.7413, allocations: 14.02 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.478e-05/0.7413, allocations: 13.7 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.7414, allocations: 1.625 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003695/0.7417, allocations: 276.2 kB / 1.274 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.7417, allocations: 6.156 kB / 1.274 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.7418, allocations: 15.73 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.7419, allocations: 113.2 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.7419, allocations: 0 / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7419, allocations: 0.9062 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.7419, allocations: 0 / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00034/0.7423, allocations: 361.6 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.7423, allocations: 10.55 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.067e-05/0.7423, allocations: 30.75 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.7424, allocations: 4.281 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.593e-05/0.7424, allocations: 183.6 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.7424, allocations: 5.219 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.7424, allocations: 5.156 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.7426, allocations: 49.62 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.7426, allocations: 3.938 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.7426, allocations: 3.969 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.7426, allocations: 0 / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.7428, allocations: 35.34 kB / 1.274 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.743, allocations: 244.9 kB / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.7431, allocations: 44.16 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.034e-05/0.7432, allocations: 24.34 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000513/0.7437, allocations: 462.5 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.11e-05/0.7437, allocations: 36.17 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.7437, allocations: 0 / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003184/0.744, allocations: 87.47 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.349e-05/0.744, allocations: 55.34 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.387e-05/0.7441, allocations: 105.5 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.24e-06/0.7441, allocations: 26.55 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.89e-05/0.7441, allocations: 81.02 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.7441, allocations: 5.047 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.7441, allocations: 21.06 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.099e-05/0.7442, allocations: 314.8 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.7442, allocations: 16.45 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.7443, allocations: 14.42 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.7444, allocations: 42.33 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7445, allocations: 8.812 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001812/0.7446, allocations: 71.34 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.7446, allocations: 7.219 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7446, allocations: 2.031 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.7447, allocations: 0 / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.041e-05/0.7447, allocations: 8.562 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.7447, allocations: 1.031 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.7448, allocations: 11.06 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.7448, allocations: 0.875 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 3.514e-05/0.7448, allocations: 116 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.7448, allocations: 6.047 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.745, allocations: 68.78 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.745, allocations: 0.9688 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.745, allocations: 0 / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.7451, allocations: 6.312 kB / 1.276 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.658e-05/0.7451, allocations: 163.5 kB / 1.276 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7451, allocations: 6.234 kB / 1.276 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.241e-05/0.7452, allocations: 7.438 kB / 1.276 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.7452, allocations: 1.922 kB / 1.276 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.7452, allocations: 4.969 kB / 1.276 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7452, allocations: 4 kB / 1.276 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7452, allocations: 4.75 kB / 1.276 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.7454, allocations: 171.1 kB / 1.277 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.7454, allocations: 79.97 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.7454, allocations: 0.5938 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.7455, allocations: 6.594 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.7455, allocations: 1.938 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.7455, allocations: 2.234 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.147e-05/0.7456, allocations: 86.41 kB / 1.277 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7456, allocations: 4.031 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002128/0.7458, allocations: 16.31 kB / 1.277 GB, free: 3.277 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003734/0.7461, allocations: 0.7125 MB / 1.277 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.7463, allocations: 43.11 kB / 1.277 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7463, allocations: 0 / 1.277 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.118e-05/0.7464, allocations: 22.33 kB / 1.278 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.7467, allocations: 2.156 kB / 1.278 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.747, allocations: 146.7 kB / 1.278 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.7472, allocations: 0.6788 MB / 1.278 GB, free: 17.73 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.939e-05/0.7472, allocations: 3.422 kB / 1.278 GB, free: 17.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.7472, allocations: 8.938 kB / 1.278 GB, free: 17.73 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.7472, allocations: 0 / 1.278 GB, free: 17.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.7689, allocations: 1.587 MB / 1.28 GB, free: 17.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.77, allocations: 4.938 kB / 1.28 GB, free: 17.36 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.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: 13.033406175998607]