Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001888/0.001888, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 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.002177/0.002177, allocations: 222.6 kB / 22.25 MB, free: 5.109 MB / 14.72 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 1.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.328/3.328, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 67.02 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4358, allocations: 176.1 MB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002602/0.4384, allocations: 0.5981 MB / 1.326 GB, free: 1.766 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.4394, allocations: 315.2 kB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.4394, allocations: 4 kB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.4395, allocations: 0 / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.382e-05/0.4395, allocations: 0 / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007698/0.4403, allocations: 111.7 kB / 1.326 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.326e-05/0.4404, allocations: 11.92 kB / 1.326 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.178e-05/0.4404, allocations: 4 kB / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.074e-05/0.4405, allocations: 7.938 kB / 1.326 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.4405, allocations: 0 / 1.326 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.4406, allocations: 4 kB / 1.326 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.4411, allocations: 263.6 kB / 1.326 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.4411, allocations: 4 kB / 1.326 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.4411, allocations: 0 / 1.326 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.4414, allocations: 95.95 kB / 1.326 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.4414, allocations: 0 / 1.326 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.866e-06/0.4414, allocations: 4 kB / 1.326 GB, free: 0.957 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.4414, allocations: 0 / 1.326 GB, free: 0.957 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000504/0.4419, allocations: 266.2 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/0.442, allocations: 8.031 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.442, allocations: 34.75 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.4421, allocations: 8.891 kB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.4422, allocations: 114.5 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.4422, allocations: 4.375 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.4423, allocations: 384 / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.4425, allocations: 63.89 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4425, allocations: 7.938 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.4425, allocations: 0 / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.4425, allocations: 0 / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.273e-05/0.4425, allocations: 4 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.4428, allocations: 124.8 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.178e-05/0.4428, allocations: 22.61 kB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.4429, allocations: 12.86 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000635/0.4435, allocations: 71.92 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.4436, allocations: 46.48 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.4436, allocations: 0 / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0006951/0.4443, allocations: 173.2 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.4443, allocations: 51.62 kB / 1.327 GB, free: 15.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.267e-05/0.4444, allocations: 101.9 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.4444, allocations: 25.7 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.4445, allocations: 80.14 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.4445, allocations: 11.89 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.4445, allocations: 21.7 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.4447, allocations: 314.8 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.4447, allocations: 8 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.4448, allocations: 13.72 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.367e-05/0.4449, allocations: 37.77 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4449, allocations: 0 / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001403/0.445, allocations: 53.8 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.445, allocations: 7.938 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.445, allocations: 3.984 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.445, allocations: 7.984 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8e-05/0.4451, allocations: 7.938 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4451, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.4452, allocations: 4 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.4452, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001021/0.4453, allocations: 109.9 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.4453, allocations: 7.938 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.4455, allocations: 57.36 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4455, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4455, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4455, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.4456, allocations: 120.8 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4456, allocations: 0 / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.634e-05/0.4457, allocations: 15.92 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.4457, allocations: 7.938 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.4457, allocations: 3.938 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4457, allocations: 0 / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4457, allocations: 4 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.4459, allocations: 77.12 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.4459, allocations: 3.938 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.4459, allocations: 3.984 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.952e-05/0.446, allocations: 4.031 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.446, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.446, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.632e-05/0.446, allocations: 83.34 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.446, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002298/0.4463, allocations: 27.92 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0006894/0.447, allocations: 0.6552 MB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.4471, allocations: 8 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4471, allocations: 3.938 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.4471, allocations: 15.98 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.4473, allocations: 3.938 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.4486, allocations: 1.143 MB / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.94e-05/0.4487, allocations: 59.34 kB / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.951e-05/0.4487, allocations: 8.266 kB / 1.33 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.4488, allocations: 7.438 kB / 1.33 GB, free: 12.39 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.4488, allocations: 0 / 1.33 GB, free: 12.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.4832, allocations: 2.233 MB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.6, allocations: 10.22 kB / 1.333 GB, free: 10.29 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.814871724229306]