Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001099/0.001099, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009197/0.0009197, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8738/0.8738, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.698/1.698, allocations: 377.8 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.652e-05, allocations: 2.281 kB / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001068/0.001085, allocations: 0.5916 MB / 0.9816 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004349/0.00152, allocations: 294.9 kB / 0.9819 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.323e-05/0.001533, allocations: 0 / 0.9819 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.001546, allocations: 0 / 0.9819 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-06/0.001551, allocations: 0 / 0.9819 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.001895, allocations: 107.6 kB / 0.982 GB, free: 1.543 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 3.973e-05/0.001935, allocations: 3.984 kB / 0.982 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.001973, allocations: 4 kB / 0.982 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.001997, allocations: 4 kB / 0.982 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.026e-05/0.002018, allocations: 4 kB / 0.982 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.002028, allocations: 0 / 0.982 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005309/0.002559, allocations: 263.5 kB / 0.9823 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.002575, allocations: 0 / 0.9823 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.002598, allocations: 4 kB / 0.9823 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.002791, allocations: 115.7 kB / 0.9824 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.002795, allocations: 0 / 0.9824 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.643e-06/0.002796, allocations: 0 / 0.9824 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.002801, allocations: 0 / 0.9824 GB, free: 1.152 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002583/0.003059, allocations: 262.2 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.0031, allocations: 12.03 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.275e-05/0.003133, allocations: 34.75 kB / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.003178, allocations: 4.938 kB / 0.9827 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.239e-05/0.00323, allocations: 101.8 kB / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.003238, allocations: 384 / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-06/0.003245, allocations: 384 / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.994e-05/0.003325, allocations: 30.27 kB / 0.9828 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.003331, allocations: 192 / 0.9828 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.003337, allocations: 384 / 0.9828 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.003342, allocations: 4.125 kB / 0.9828 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.97e-05/0.003362, allocations: 11.88 kB / 0.9828 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001043/0.003466, allocations: 120.8 kB / 0.9829 GB, free: 480 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.601e-05/0.003502, allocations: 22.61 kB / 0.9829 GB, free: 448 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.297e-05/0.003515, allocations: 4.859 kB / 0.983 GB, free: 440 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/0.003802, allocations: 40.03 kB / 0.983 GB, free: 400 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.003821, allocations: 34.55 kB / 0.983 GB, free: 356 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.003822, allocations: 0 / 0.983 GB, free: 356 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.003953, allocations: 41.64 kB / 0.9831 GB, free: 308 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.00398, allocations: 59.34 kB / 0.9831 GB, free: 236 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.435e-05/0.004005, allocations: 89.86 kB / 0.9832 GB, free: 136 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.004013, allocations: 25.7 kB / 0.9832 GB, free: 104 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.86e-05/0.004032, allocations: 80.14 kB / 0.9833 GB, free: 20 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.00406, allocations: 0 / 0.9833 GB, free: 20 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.004082, allocations: 13.72 kB / 0.9833 GB, free: 0 / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.004169, allocations: 310.8 kB / 0.9836 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-06/0.004179, allocations: 3.938 kB / 0.9836 GB, free: 15.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.004186, allocations: 3.984 kB / 0.9836 GB, free: 15.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.435e-05/0.00421, allocations: 17.05 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.004212, allocations: 0 / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.727e-05/0.004259, allocations: 37.64 kB / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.004271, allocations: 4 kB / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.004275, allocations: 0 / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.004287, allocations: 0 / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.103e-05/0.004328, allocations: 4 kB / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.004333, allocations: 3.938 kB / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-06/0.004342, allocations: 3.938 kB / 0.9837 GB, free: 15.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.004347, allocations: 0 / 0.9837 GB, free: 15.6 MB / 0.948 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 (1): * Single equations (assignments): 1 * 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 4.939e-05/0.004396, allocations: 113.9 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.004407, allocations: 4 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.981e-05/0.004477, allocations: 36.7 kB / 0.9838 GB, free: 15.44 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.004479, allocations: 0 / 0.9838 GB, free: 15.44 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.004486, allocations: 3.938 kB / 0.9838 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.004488, allocations: 3.938 kB / 0.9838 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.623e-05/0.004545, allocations: 120.8 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.004546, allocations: 0 / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-06/0.004554, allocations: 0 / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.004555, allocations: 4.031 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.00456, allocations: 0 / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.004561, allocations: 4 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.004564, allocations: 7.938 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.082e-05/0.004614, allocations: 65.11 kB / 0.984 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-06/0.004617, allocations: 0 / 0.984 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.004625, allocations: 3.938 kB / 0.984 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-06/0.004629, allocations: 0 / 0.984 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.00464, allocations: 3.938 kB / 0.984 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.004642, allocations: 0 / 0.984 GB, free: 15.16 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.983e-05/0.004661, allocations: 79.28 kB / 0.9841 GB, free: 15.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004661, allocations: 4.031 kB / 0.9841 GB, free: 15.08 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001338/0.004795, allocations: 8 kB / 0.9841 GB, free: 15.07 MB / 0.948 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 (1): * Single equations (assignments): 1 * 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.0002946/0.00509, allocations: 0.6162 MB / 0.9847 GB, free: 14.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.608e-05/0.005146, allocations: 7.938 kB / 0.9847 GB, free: 14.42 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.005147, allocations: 0 / 0.9847 GB, free: 14.42 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.109e-06/0.005152, allocations: 7.938 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.706e-05/0.005249, allocations: 6.516 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002296/0.005479, allocations: 114.8 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.069e-05/0.00551, allocations: 55.22 kB / 0.9849 GB, free: 14.18 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.717e-05/0.005527, allocations: 7.984 kB / 0.9849 GB, free: 14.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.005543, allocations: 8.5 kB / 0.9849 GB, free: 14.17 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/0.005543, allocations: 0 / 0.9849 GB, free: 14.17 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.01955, allocations: 1.819 MB / 0.9867 GB, free: 12.47 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.975/6.995, allocations: 9.734 kB / 0.9867 GB, free: 12.47 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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.898977728560567]