Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.0007969/0.0007969, 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.0008826/0.0008826, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.9113/0.9113, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.717/1.717, allocations: 377.8 MB / 0.6221 GB, free: 8.699 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.And,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 0.981 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.556e-05, allocations: 5.234 kB / 0.981 GB, free: 1.453 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001445/0.00147, allocations: 0.6414 MB / 0.9816 GB, free: 0.8125 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.002997, allocations: 1.205 MB / 0.9828 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.003043, allocations: 0 / 0.9828 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.003071, allocations: 3.938 kB / 0.9828 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-05/0.003136, allocations: 15.86 kB / 0.9828 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.003621, allocations: 214.8 kB / 0.983 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.003784, allocations: 179.7 kB / 0.9832 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.003876, allocations: 15.97 kB / 0.9832 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.003981, allocations: 91.94 kB / 0.9833 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.004087, allocations: 51.84 kB / 0.9833 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.004113, allocations: 12 kB / 0.9834 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.004178, allocations: 27.98 kB / 0.9834 GB, free: 15 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.004202, allocations: 11.98 kB / 0.9834 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.954e-05/0.004262, allocations: 47.89 kB / 0.9834 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.004455, allocations: 179.6 kB / 0.9836 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.004457, allocations: 0 / 0.9836 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.503e-06/0.004459, allocations: 0 / 0.9836 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.004463, allocations: 7.938 kB / 0.9836 GB, free: 14.76 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004539/0.004917, allocations: 369.5 kB / 0.984 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.00496, allocations: 8.031 kB / 0.984 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.004997, allocations: 34.75 kB / 0.984 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.005039, allocations: 8.891 kB / 0.984 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.231e-05/0.005121, allocations: 109.7 kB / 0.9841 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.005135, allocations: 8.359 kB / 0.9841 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.005156, allocations: 16.38 kB / 0.9841 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.005256, allocations: 42.25 kB / 0.9842 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.005264, allocations: 4.125 kB / 0.9842 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.005273, allocations: 4.375 kB / 0.9842 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.005279, allocations: 4.125 kB / 0.9842 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.296e-05/0.005312, allocations: 15.98 kB / 0.9842 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.005703, allocations: 299.8 kB / 0.9845 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.228e-05/0.005776, allocations: 30.56 kB / 0.9845 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.005797, allocations: 12.86 kB / 0.9845 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.005807, allocations: 7.938 kB / 0.9846 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.005953, allocations: 79.47 kB / 0.9846 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.005953, allocations: 3.938 kB / 0.9846 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0001994/0.006153, allocations: 105.6 kB / 0.9847 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.006185, allocations: 63.39 kB / 0.9848 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.343e-05/0.006248, allocations: 117.8 kB / 0.9849 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.006268, allocations: 29.7 kB / 0.9849 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.006312, allocations: 92.09 kB / 0.985 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.006326, allocations: 19.89 kB / 0.985 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.006383, allocations: 45.69 kB / 0.9851 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.006504, allocations: 314.8 kB / 0.9854 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.006617, allocations: 119.4 kB / 0.9855 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.006737, allocations: 159.6 kB / 0.9857 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.006862, allocations: 160.1 kB / 0.9858 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.006865, allocations: 3.938 kB / 0.9858 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002875/0.007153, allocations: 328.2 kB / 0.9861 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.007192, allocations: 67.39 kB / 0.9862 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.007197, allocations: 4 kB / 0.9862 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.007209, allocations: 3.938 kB / 0.9862 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.83e-05/0.007227, allocations: 7.984 kB / 0.9862 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.007233, allocations: 4.125 kB / 0.9862 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.007425, allocations: 55.89 kB / 0.9863 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.007444, allocations: 8 kB / 0.9863 GB, free: 11.73 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.085e-05/0.007525, allocations: 133.6 kB / 0.9864 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.007535, allocations: 11.94 kB / 0.9864 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.007559, allocations: 8.438 kB / 0.9864 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007561, allocations: 8 kB / 0.9864 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.007566, allocations: 0 / 0.9864 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.00757, allocations: 0 / 0.9864 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.778e-05/0.007667, allocations: 144.7 kB / 0.9866 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.007668, allocations: 0 / 0.9866 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.342e-06/0.007674, allocations: 0 / 0.9866 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.007676, allocations: 0 / 0.9866 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.007683, allocations: 4 kB / 0.9866 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.007684, allocations: 0 / 0.9866 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.007686, allocations: 0 / 0.9866 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.007789, allocations: 117.3 kB / 0.9867 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-06/0.007796, allocations: 8 kB / 0.9867 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.007808, allocations: 3.984 kB / 0.9867 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.208e-05/0.00782, allocations: 0 / 0.9867 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.007853, allocations: 8 kB / 0.9867 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.00786, allocations: 7.984 kB / 0.9867 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.007896, allocations: 87.28 kB / 0.9868 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.007897, allocations: 0 / 0.9868 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001652/0.008062, allocations: 27.98 kB / 0.9868 GB, free: 11.1 MB / 0.9011 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0004761/0.008538, allocations: 0.6631 MB / 0.9875 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.008801, allocations: 286.4 kB / 0.9877 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.008803, allocations: 0 / 0.9877 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.008833, allocations: 20 kB / 0.9877 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.009007, allocations: 23.86 kB / 0.9878 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.01037, allocations: 1.971 MB / 0.9897 GB, free: 7.906 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.286e-05/0.01041, allocations: 71.59 kB / 0.9898 GB, free: 7.816 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.684e-05/0.01044, allocations: 7.984 kB / 0.9898 GB, free: 7.809 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.01047, allocations: 20.5 kB / 0.9898 GB, free: 7.789 MB / 0.9011 GB Notification: Performance of SimCode: time 3.61e-07/0.01047, allocations: 0 / 0.9898 GB, free: 7.789 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.02764, allocations: 3.747 MB / 0.9935 GB, free: 4.227 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/6.801, allocations: 10.17 kB / 0.9935 GB, free: 4.219 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.755275306291878]