Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.0008477/0.0008477, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001234/0.001234, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.888/0.888, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.742/1.742, allocations: 377.8 MB / 0.6221 GB, free: 8.68 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.Nor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.377e-06/3.377e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.726e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001367/0.001394, allocations: 0.6515 MB / 0.9816 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.002551, allocations: 1.205 MB / 0.9828 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.002594, allocations: 4 kB / 0.9828 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.002621, allocations: 0 / 0.9828 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-05/0.002685, allocations: 11.88 kB / 0.9828 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004922/0.003177, allocations: 221.1 kB / 0.983 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.00334, allocations: 179.6 kB / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.003428, allocations: 11.92 kB / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.797e-05/0.003526, allocations: 91.92 kB / 0.9833 GB, free: 200 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.003629, allocations: 55.84 kB / 0.9833 GB, free: 144 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.003655, allocations: 16 kB / 0.9833 GB, free: 128 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.741e-05/0.003712, allocations: 23.98 kB / 0.9834 GB, free: 104 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.003733, allocations: 12 kB / 0.9834 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.003792, allocations: 55.88 kB / 0.9834 GB, free: 36 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.003989, allocations: 175.6 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003991, allocations: 0 / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.323e-06/0.003993, allocations: 0 / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.003997, allocations: 0 / 0.9836 GB, free: 15.86 MB / 0.948 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.0004136/0.004411, allocations: 357.5 kB / 0.9839 GB, free: 15.47 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.004452, allocations: 12.03 kB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.856e-05/0.00448, allocations: 34.75 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.004522, allocations: 12.89 kB / 0.984 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.444e-05/0.004607, allocations: 117.7 kB / 0.9841 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.004624, allocations: 20.3 kB / 0.9841 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.004643, allocations: 8.375 kB / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.403e-05/0.004737, allocations: 46.25 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.004744, allocations: 4.188 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.004752, allocations: 384 / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.004757, allocations: 8.062 kB / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.976e-05/0.004797, allocations: 19.92 kB / 0.9842 GB, free: 15.15 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.005146, allocations: 287.9 kB / 0.9845 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.896e-05/0.005205, allocations: 34.56 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.005226, allocations: 12.86 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.005235, allocations: 7.938 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.005369, allocations: 83.41 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.00537, allocations: 0 / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0001892/0.005559, allocations: 101.6 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.005596, allocations: 59.39 kB / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.489e-05/0.005661, allocations: 113.8 kB / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.005683, allocations: 33.7 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.005732, allocations: 92.09 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.00575, allocations: 15.89 kB / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.005812, allocations: 49.69 kB / 0.9851 GB, free: 14.17 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.005885, allocations: 322.8 kB / 0.9854 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.005999, allocations: 123.4 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.006112, allocations: 154.7 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.006236, allocations: 163.6 kB / 0.9858 GB, free: 13.35 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.006239, allocations: 3.938 kB / 0.9858 GB, free: 13.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000283/0.006522, allocations: 324.8 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.006559, allocations: 75.39 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.006564, allocations: 0 / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.006577, allocations: 0 / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-05/0.006595, allocations: 7.984 kB / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.006602, allocations: 4.25 kB / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.006799, allocations: 51.88 kB / 0.9862 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.006821, allocations: 16 kB / 0.9863 GB, free: 12.83 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.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 6.787e-05/0.006889, allocations: 129.8 kB / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-06/0.006898, allocations: 7.953 kB / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.006919, allocations: 12.38 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.006921, allocations: 0 / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.006926, allocations: 0 / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.006929, allocations: 0 / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.401e-05/0.007013, allocations: 148.7 kB / 0.9865 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.007014, allocations: 0 / 0.9865 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-06/0.007019, allocations: 4 kB / 0.9865 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.00702, allocations: 64 / 0.9865 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.007026, allocations: 8 kB / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.007028, allocations: 3.984 kB / 0.9866 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007029, allocations: 0 / 0.9866 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.588e-05/0.007125, allocations: 121 kB / 0.9867 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-06/0.00713, allocations: 0 / 0.9867 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.007141, allocations: 7.984 kB / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.099e-05/0.007152, allocations: 0 / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.007185, allocations: 11.98 kB / 0.9867 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.00719, allocations: 0 / 0.9867 GB, free: 12.32 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.28e-05/0.007223, allocations: 87.28 kB / 0.9868 GB, free: 12.23 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007223, allocations: 0 / 0.9868 GB, free: 12.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001607/0.007383, allocations: 39.94 kB / 0.9868 GB, free: 12.19 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.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.0003033/0.007687, allocations: 0.6592 MB / 0.9875 GB, free: 11.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.007936, allocations: 278.1 kB / 0.9877 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.007937, allocations: 0 / 0.9877 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-05/0.007964, allocations: 16.28 kB / 0.9877 GB, free: 11.18 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.008131, allocations: 20.17 kB / 0.9878 GB, free: 11.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.009525, allocations: 1.968 MB / 0.9897 GB, free: 9.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.69e-05/0.009562, allocations: 67.34 kB / 0.9897 GB, free: 8.934 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.414e-05/0.009586, allocations: 11.97 kB / 0.9898 GB, free: 8.922 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.009626, allocations: 16.5 kB / 0.9898 GB, free: 8.906 MB / 0.948 GB Notification: Performance of SimCode: time 7.91e-07/0.009627, allocations: 0 / 0.9898 GB, free: 8.906 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.02593, allocations: 3.764 MB / 0.9934 GB, free: 5.336 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.782/6.808, allocations: 14.97 kB / 0.9935 GB, free: 5.324 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.885520390234888]