Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.0008502/0.0008502, allocations: 72.45 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.0008721/0.0008721, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9178/0.9178, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.691/1.691, allocations: 359 MB / 0.6037 GB, free: 11.06 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.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.9504 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.264e-05, allocations: 6.219 kB / 0.9504 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003988/0.004011, allocations: 3.769 MB / 0.9541 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00229/0.006301, allocations: 1.332 MB / 0.9554 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004084/0.006709, allocations: 31.75 kB / 0.9555 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.007018, allocations: 122.8 kB / 0.9556 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.007314, allocations: 194.2 kB / 0.9558 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006953/0.008009, allocations: 423.2 kB / 0.9562 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006263/0.008636, allocations: 0.9746 MB / 0.9571 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.009019, allocations: 298.5 kB / 0.9574 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.009429, allocations: 0.4911 MB / 0.9579 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.009659, allocations: 243.2 kB / 0.9581 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.955e-05/0.009739, allocations: 92 kB / 0.9582 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 7.227e-05/0.009811, allocations: 88 kB / 0.9583 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.294e-05/0.009904, allocations: 179.4 kB / 0.9585 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.01007, allocations: 255.3 kB / 0.9587 GB, free: 11 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007097/0.01078, allocations: 1.083 MB / 0.9598 GB, free: 9.91 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01078, allocations: 0 / 0.9598 GB, free: 9.91 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.693e-06/0.01078, allocations: 7.938 kB / 0.9598 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.01079, allocations: 3.938 kB / 0.9598 GB, free: 9.898 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001309/0.0121, allocations: 1.07 MB / 0.9608 GB, free: 8.785 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.01215, allocations: 12.02 kB / 0.9608 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.374e-05/0.01223, allocations: 98.7 kB / 0.9609 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.705e-05/0.01233, allocations: 84.42 kB / 0.961 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000681/0.01301, allocations: 0.5031 MB / 0.9615 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.01304, allocations: 49.67 kB / 0.9615 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/0.01311, allocations: 60.33 kB / 0.9616 GB, free: 7.957 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007783/0.01389, allocations: 0.6544 MB / 0.9622 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.01392, allocations: 4.125 kB / 0.9622 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.01396, allocations: 28.12 kB / 0.9623 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.01397, allocations: 19.98 kB / 0.9623 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006479/0.01462, allocations: 449 kB / 0.9627 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.01671, allocations: 1.779 MB / 0.9644 GB, free: 4.926 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000622/0.01733, allocations: 427.9 kB / 0.9649 GB, free: 4.5 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.01763, allocations: 222.2 kB / 0.9651 GB, free: 4.281 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.01767, allocations: 12.44 kB / 0.9651 GB, free: 4.266 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004021/0.01808, allocations: 262.2 kB / 0.9653 GB, free: 3.996 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=49): time 3.125e-06/0.01808, allocations: 4 kB / 0.9653 GB, free: 3.992 MB / 0.9167 GB Notification: Performance of matching and sorting (n=49): time 0.0009399/0.01902, allocations: 0.5872 MB / 0.9659 GB, free: 3.406 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.01908, allocations: 55.91 kB / 0.966 GB, free: 3.336 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.01946, allocations: 450 kB / 0.9664 GB, free: 2.883 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.01949, allocations: 33.7 kB / 0.9664 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.01966, allocations: 328.9 kB / 0.9667 GB, free: 2.516 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.392e-05/0.01975, allocations: 174.5 kB / 0.9669 GB, free: 2.344 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.825e-05/0.01985, allocations: 94.34 kB / 0.967 GB, free: 2.246 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.01997, allocations: 370.8 kB / 0.9673 GB, free: 1.875 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.02022, allocations: 194.9 kB / 0.9675 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/0.02088, allocations: 272.4 kB / 0.9678 GB, free: 1.379 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/0.02139, allocations: 459.2 kB / 0.9682 GB, free: 0.8945 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.0214, allocations: 0 / 0.9682 GB, free: 0.8945 MB / 0.9167 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006345/0.02203, allocations: 0.5941 MB / 0.9688 GB, free: 292 kB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.02206, allocations: 33.7 kB / 0.9688 GB, free: 252 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.02207, allocations: 4 kB / 0.9688 GB, free: 248 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.02209, allocations: 7.938 kB / 0.9689 GB, free: 240 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.02237, allocations: 111.8 kB / 0.969 GB, free: 128 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.02238, allocations: 4.25 kB / 0.969 GB, free: 124 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.02254, allocations: 63.64 kB / 0.969 GB, free: 60 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.02256, allocations: 16 kB / 0.969 GB, free: 44 kB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002002/0.02276, allocations: 211.6 kB / 0.9692 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.02281, allocations: 59.56 kB / 0.9693 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.532e-05/0.02289, allocations: 69.58 kB / 0.9694 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.0229, allocations: 7.938 kB / 0.9694 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.0229, allocations: 0 / 0.9694 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.02291, allocations: 7.984 kB / 0.9694 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.02402, allocations: 1.074 MB / 0.9704 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.02403, allocations: 3.938 kB / 0.9704 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.02428, allocations: 87.89 kB / 0.9705 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.02429, allocations: 7.984 kB / 0.9705 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.02431, allocations: 12 kB / 0.9705 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.02431, allocations: 4 kB / 0.9705 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.02431, allocations: 3.938 kB / 0.9705 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008527/0.02516, allocations: 0.7631 MB / 0.9713 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.02529, allocations: 95.5 kB / 0.9714 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.02533, allocations: 15.94 kB / 0.9714 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.02546, allocations: 27.97 kB / 0.9714 GB, free: 13.53 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.02553, allocations: 32.44 kB / 0.9715 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.02555, allocations: 19.98 kB / 0.9715 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002494/0.0258, allocations: 306.9 kB / 0.9718 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0258, allocations: 0 / 0.9718 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004258/0.02623, allocations: 143.6 kB / 0.9719 GB, free: 13.04 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001512/0.02774, allocations: 1.32 MB / 0.9732 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008646/0.02861, allocations: 491.3 kB / 0.9737 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.02861, allocations: 0 / 0.9737 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.02899, allocations: 211.2 kB / 0.9739 GB, free: 10.99 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/0.02969, allocations: 161.7 kB / 0.974 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/0.03497, allocations: 4.829 MB / 0.9787 GB, free: 5.844 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.03516, allocations: 300.7 kB / 0.979 GB, free: 5.523 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001872/0.03535, allocations: 64.58 kB / 0.9791 GB, free: 5.461 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.03557, allocations: 224.4 kB / 0.9793 GB, free: 5.242 MB / 0.9323 GB Notification: Performance of SimCode: time 7.41e-07/0.03557, allocations: 0 / 0.9793 GB, free: 5.242 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.06118, allocations: 12.53 MB / 0.9915 GB, free: 9.008 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.794/6.855, allocations: 9.828 kB / 0.9915 GB, free: 9.004 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.119713 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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: 11.084800023585558]