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.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.001011/0.001011, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.001311/0.001311, allocations: 166.3 kB / 22.46 MB, free: 2.098 MB / 18.57 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 0.8888/0.8888, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.689/1.689, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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 1.583e-06/1.583e-06, allocations: 0 / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.948e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002085/0.002105, allocations: 1.455 MB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006333/0.002738, allocations: 358.7 kB / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.911e-05/0.002777, allocations: 0 / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.002808, allocations: 3.938 kB / 0.9523 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.77e-05/0.002856, allocations: 0 / 0.9523 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.003271, allocations: 115.6 kB / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.401e-05/0.003345, allocations: 31.86 kB / 0.9524 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.003441, allocations: 0 / 0.9524 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.384e-05/0.003494, allocations: 15.98 kB / 0.9524 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/0.003532, allocations: 7.984 kB / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.003551, allocations: 4 kB / 0.9524 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.003828, allocations: 259.6 kB / 0.9527 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.003845, allocations: 11.86 kB / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.003863, allocations: 8 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.00407, allocations: 139.6 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004073, allocations: 0 / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.683e-06/0.004074, allocations: 0 / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.004079, allocations: 0 / 0.9528 GB, free: 1.074 MB / 0.9011 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.0004013/0.00448, allocations: 290 kB / 0.9531 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.004529, allocations: 15.97 kB / 0.9531 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/0.004565, allocations: 34.69 kB / 0.9532 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.004619, allocations: 0.9375 kB / 0.9532 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.631e-05/0.004716, allocations: 113.8 kB / 0.9533 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.004727, allocations: 384 / 0.9533 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.004737, allocations: 8.375 kB / 0.9533 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.004884, allocations: 46.23 kB / 0.9533 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.004894, allocations: 4.188 kB / 0.9533 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.004904, allocations: 384 / 0.9533 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.004911, allocations: 4.125 kB / 0.9533 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.932e-05/0.00501, allocations: 35.91 kB / 0.9534 GB, free: 472 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.005319, allocations: 216 kB / 0.9536 GB, free: 212 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.06e-05/0.00541, allocations: 39.17 kB / 0.9536 GB, free: 164 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.005461, allocations: 28.89 kB / 0.9536 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/0.005798, allocations: 75.92 kB / 0.9537 GB, free: 56 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.005821, allocations: 38.5 kB / 0.9537 GB, free: 8 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.005822, allocations: 0 / 0.9537 GB, free: 8 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002584/0.006081, allocations: 85.58 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.006107, allocations: 51.41 kB / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.969e-05/0.006167, allocations: 109.8 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.006176, allocations: 25.7 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.006213, allocations: 84.14 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.006231, allocations: 16.02 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.006257, allocations: 13.7 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.869e-05/0.006336, allocations: 314.8 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.401e-05/0.00638, allocations: 15.98 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.006418, allocations: 15.98 kB / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.581e-05/0.006504, allocations: 44.75 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006506, allocations: 8.062 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001172/0.006623, allocations: 65.61 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.006637, allocations: 6.812 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.006643, allocations: 3.984 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.006654, allocations: 0 / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.915e-05/0.006713, allocations: 8 kB / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.006717, allocations: 3.938 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.426e-05/0.006742, allocations: 11.94 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.006746, allocations: 4.031 kB / 0.9546 GB, free: 15.08 MB / 0.9167 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 5.514e-05/0.006801, allocations: 109.8 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.006823, allocations: 7.938 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.00696, allocations: 77.2 kB / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006963, allocations: 0 / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.006966, allocations: 0 / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.006969, allocations: 0 / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.007074, allocations: 136.7 kB / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.007075, allocations: 4.031 kB / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.007101, allocations: 4 kB / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.007106, allocations: 7.922 kB / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.007112, allocations: 0 / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.007115, allocations: 7.984 kB / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.007116, allocations: 0 / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.00725, allocations: 155.5 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.00726, allocations: 15.88 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.00727, allocations: 4.031 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.671e-05/0.007306, allocations: 4 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.00734, allocations: 8.234 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.007342, allocations: 0 / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.93e-05/0.007371, allocations: 83.28 kB / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007371, allocations: 0 / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001664/0.007538, allocations: 16 kB / 0.9552 GB, free: 14.37 MB / 0.9167 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.0003848/0.007922, allocations: 0.7124 MB / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.008051, allocations: 47.91 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008052, allocations: 0 / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.249e-05/0.008095, allocations: 19.97 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.008305, allocations: 4 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.00864, allocations: 142.5 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.407e-05/0.008684, allocations: 67.47 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.081e-05/0.008705, allocations: 7.984 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.008738, allocations: 12.5 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of SimCode: time 4.4e-07/0.008739, allocations: 3.938 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.02345, allocations: 2.276 MB / 0.9584 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/6.749, allocations: 4.062 kB / 0.9584 GB, free: 11.13 MB / 0.9167 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --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/jenkins/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: 10.676555975340307]