Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.0008401/0.0008401, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008661/0.0008661, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9092/0.9092, allocations: 177.2 MB / 202.8 MB, free: 5.539 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.769/1.769, allocations: 377.8 MB / 0.6221 GB, free: 8.621 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.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.379e-05, allocations: 2.281 kB / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001349/0.001373, allocations: 0.7353 MB / 0.9817 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.002566, allocations: 1.178 MB / 0.9828 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.846e-05/0.002615, allocations: 0 / 0.9828 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.002644, allocations: 11.88 kB / 0.9829 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.958e-05/0.002713, allocations: 7.938 kB / 0.9829 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.003125, allocations: 130.9 kB / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.003261, allocations: 119.7 kB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.568e-05/0.003357, allocations: 23.86 kB / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.646e-05/0.003453, allocations: 63.94 kB / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.00352, allocations: 31.89 kB / 0.9832 GB, free: 248 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.003542, allocations: 12 kB / 0.9832 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.453e-05/0.003596, allocations: 27.97 kB / 0.9833 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.003622, allocations: 15.92 kB / 0.9833 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.003666, allocations: 31.97 kB / 0.9833 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.003817, allocations: 127.7 kB / 0.9834 GB, free: 32 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.00382, allocations: 0 / 0.9834 GB, free: 32 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.463e-06/0.003822, allocations: 0 / 0.9834 GB, free: 32 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.003827, allocations: 0 / 0.9834 GB, free: 32 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004457/0.004272, allocations: 339.8 kB / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.004309, allocations: 12.03 kB / 0.9838 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.615e-05/0.004335, allocations: 30.75 kB / 0.9838 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.00437, allocations: 8.922 kB / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.578e-05/0.004446, allocations: 117.7 kB / 0.9839 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.00446, allocations: 12.31 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.00448, allocations: 12.36 kB / 0.9839 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.004619, allocations: 62.22 kB / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.004627, allocations: 192 / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.004639, allocations: 8.375 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.004646, allocations: 4.125 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.665e-05/0.004743, allocations: 43.95 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.005158, allocations: 275.8 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.005289, allocations: 58.61 kB / 0.9844 GB, free: 14.94 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/0.005345, allocations: 36.95 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.005356, allocations: 3.938 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.005548, allocations: 83.36 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.005549, allocations: 3.938 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0002865/0.005836, allocations: 149.6 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.005869, allocations: 55.41 kB / 0.9847 GB, free: 14.58 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.547e-05/0.005954, allocations: 121.8 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.005977, allocations: 33.7 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.006028, allocations: 88.14 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.006048, allocations: 19.8 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.006101, allocations: 41.69 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.043e-05/0.006171, allocations: 318.8 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.006281, allocations: 81.66 kB / 0.9854 GB, free: 13.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.006389, allocations: 118 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.006544, allocations: 154.1 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006546, allocations: 0 / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002681/0.006814, allocations: 240.8 kB / 0.9858 GB, free: 13.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.00685, allocations: 37.7 kB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.006857, allocations: 12.17 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.00687, allocations: 4 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.006933, allocations: 11.94 kB / 0.9859 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.006939, allocations: 0 / 0.9859 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.007041, allocations: 31.95 kB / 0.9859 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.007055, allocations: 8 kB / 0.9859 GB, free: 13.18 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 7.111e-05/0.007126, allocations: 128.6 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.007136, allocations: 11.89 kB / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.007159, allocations: 12.44 kB / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.007162, allocations: 0 / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.007166, allocations: 0 / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.00717, allocations: 0 / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.007467, allocations: 357.4 kB / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.007469, allocations: 3.938 kB / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-05/0.007494, allocations: 4 kB / 0.9864 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.007496, allocations: 0 / 0.9864 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.007506, allocations: 11.98 kB / 0.9865 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.007507, allocations: 0 / 0.9865 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.007509, allocations: 3.938 kB / 0.9865 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.007659, allocations: 203.4 kB / 0.9867 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-06/0.007666, allocations: 3.953 kB / 0.9867 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.00768, allocations: 8 kB / 0.9867 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.169e-05/0.007721, allocations: 7.922 kB / 0.9867 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.007756, allocations: 7.984 kB / 0.9867 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.007762, allocations: 4 kB / 0.9867 GB, free: 12.35 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.377e-05/0.007795, allocations: 95.28 kB / 0.9868 GB, free: 12.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.007795, allocations: 0 / 0.9868 GB, free: 12.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00017/0.007965, allocations: 23.98 kB / 0.9868 GB, free: 12.23 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0003793/0.008345, allocations: 0.7475 MB / 0.9875 GB, free: 11.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.008579, allocations: 193 kB / 0.9877 GB, free: 11.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.00858, allocations: 0 / 0.9877 GB, free: 11.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.091e-05/0.008641, allocations: 35.97 kB / 0.9877 GB, free: 11.22 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.008837, allocations: 14.64 kB / 0.9878 GB, free: 11.21 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.01015, allocations: 1.825 MB / 0.9895 GB, free: 9.242 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.731e-05/0.01019, allocations: 75.58 kB / 0.9896 GB, free: 9.148 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.971e-05/0.01022, allocations: 7.984 kB / 0.9896 GB, free: 9.141 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.01027, allocations: 24.48 kB / 0.9896 GB, free: 9.113 MB / 0.948 GB Notification: Performance of SimCode: time 8.12e-07/0.01027, allocations: 0 / 0.9896 GB, free: 9.113 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.02797, allocations: 3.341 MB / 0.9929 GB, free: 5.941 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/6.784, allocations: 4.062 kB / 0.9929 GB, free: 5.938 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable change.u in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable change.u from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! Error: Could not read variable change.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable change.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.946871661581099]