Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001364/0.001364, allocations: 103.8 kB / 16.45 MB, free: 6.504 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.001352/0.001352, allocations: 192.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.502/1.502, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] 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.846/2.846, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 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.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 71.88 kB / 1.104 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8699/0.872, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001835/0.8739, allocations: 0.5875 MB / 1.269 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.8746, allocations: 364.5 kB / 1.27 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.8746, allocations: 0 / 1.27 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.23e-05/0.8746, allocations: 0 / 1.27 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.325e-05/0.8746, allocations: 0 / 1.27 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.8751, allocations: 115.6 kB / 1.27 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.175e-05/0.8752, allocations: 4 kB / 1.27 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.8752, allocations: 8 kB / 1.27 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.268e-05/0.8752, allocations: 7.969 kB / 1.27 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.702e-05/0.8753, allocations: 11.94 kB / 1.27 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.8753, allocations: 0 / 1.27 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004164/0.8757, allocations: 275.6 kB / 1.27 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.8757, allocations: 0 / 1.27 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.8757, allocations: 7.938 kB / 1.27 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.8759, allocations: 93.55 kB / 1.27 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8759, allocations: 0 / 1.27 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8759, allocations: 0 / 1.27 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.8759, allocations: 0 / 1.27 GB, free: 3.723 MB / 0.9669 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.0004198/0.8764, allocations: 355.2 kB / 1.271 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.8764, allocations: 8.031 kB / 1.271 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.8764, allocations: 34.69 kB / 1.271 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.8765, allocations: 4.938 kB / 1.271 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.8766, allocations: 160.4 kB / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.8766, allocations: 384 / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.8767, allocations: 8.375 kB / 1.271 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.8768, allocations: 34.25 kB / 1.271 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.8768, allocations: 7.938 kB / 1.271 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.8768, allocations: 0 / 1.271 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.8768, allocations: 0 / 1.271 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.349e-05/0.8768, allocations: 4 kB / 1.271 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.877, allocations: 149.7 kB / 1.271 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.315e-05/0.8771, allocations: 26.55 kB / 1.271 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.8771, allocations: 8.859 kB / 1.271 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007884/0.8779, allocations: 461.5 kB / 1.271 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.8779, allocations: 30.56 kB / 1.271 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8779, allocations: 0 / 1.271 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005406/0.8784, allocations: 258.3 kB / 1.272 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.8785, allocations: 55.41 kB / 1.272 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.8786, allocations: 93.84 kB / 1.272 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.8786, allocations: 25.7 kB / 1.272 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.8786, allocations: 84.14 kB / 1.272 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.8787, allocations: 20.12 kB / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.8787, allocations: 21.72 kB / 1.272 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.8789, allocations: 310.8 kB / 1.272 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.499e-05/0.8789, allocations: 7.984 kB / 1.272 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.8789, allocations: 25.69 kB / 1.272 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.028e-05/0.879, allocations: 25.72 kB / 1.272 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.879, allocations: 0 / 1.272 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001035/0.8791, allocations: 57.62 kB / 1.272 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.8791, allocations: 7.938 kB / 1.272 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.8791, allocations: 0 / 1.272 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.8791, allocations: 0 / 1.272 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.8792, allocations: 8 kB / 1.272 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.8792, allocations: 0 / 1.272 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.8792, allocations: 3.938 kB / 1.272 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.8792, allocations: 7.984 kB / 1.272 GB, free: 1.082 MB / 0.9669 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 8.553e-05/0.8793, allocations: 114.4 kB / 1.273 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.8793, allocations: 7.938 kB / 1.273 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.8795, allocations: 53.12 kB / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.8795, allocations: 0 / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8795, allocations: 0 / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.8795, allocations: 0 / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.8797, allocations: 153.7 kB / 1.273 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8797, allocations: 0 / 1.273 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.8797, allocations: 7.984 kB / 1.273 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.8797, allocations: 7.938 kB / 1.273 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.8797, allocations: 8 kB / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.8797, allocations: 0 / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8797, allocations: 0 / 1.273 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.8799, allocations: 81.02 kB / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.8799, allocations: 81.05 kB / 1.273 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.8799, allocations: 0 / 1.273 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.88, allocations: 8.016 kB / 1.273 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.88, allocations: 4.062 kB / 1.273 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.88, allocations: 0 / 1.273 GB, free: 472 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.88, allocations: 83.28 kB / 1.273 GB, free: 388 kB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.88, allocations: 0 / 1.273 GB, free: 388 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002096/0.8802, allocations: 27.88 kB / 1.273 GB, free: 360 kB / 0.9669 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.0005605/0.8808, allocations: 0.6437 MB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.8809, allocations: 19.94 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8809, allocations: 0 / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.788e-05/0.8809, allocations: 7.984 kB / 1.274 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.8811, allocations: 9.047 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.8822, allocations: 1.135 MB / 1.275 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.8825, allocations: 0.6807 MB / 1.275 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.9e-05/0.8825, allocations: 7.938 kB / 1.275 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.8826, allocations: 11.44 kB / 1.275 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.8826, allocations: 0 / 1.275 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.9141, allocations: 1.753 MB / 1.277 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/9.106, allocations: 16.66 kB / 1.277 GB, free: 12.07 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.257983461022377]