Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 103.3 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.008/2.008, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.393/3.393, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005991/0.0005996, allocations: 12 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284/1.285, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001246/1.286, allocations: 0.5329 MB / 0.9814 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00209/1.288, allocations: 1.366 MB / 0.9827 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/1.288, allocations: 0 / 0.9827 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/1.289, allocations: 15.88 kB / 0.9828 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/1.289, allocations: 35.92 kB / 0.9828 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/1.29, allocations: 478.9 kB / 0.9832 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005636/1.291, allocations: 243.6 kB / 0.9835 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/1.291, allocations: 33.48 kB / 0.9835 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/1.291, allocations: 155.7 kB / 0.9837 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/1.292, allocations: 127.6 kB / 0.9838 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.932e-05/1.292, allocations: 24 kB / 0.9838 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/1.292, allocations: 31.98 kB / 0.9838 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/1.292, allocations: 31.92 kB / 0.9839 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/1.292, allocations: 69.56 kB / 0.9839 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004779/1.293, allocations: 293.5 kB / 0.9842 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.293, allocations: 0 / 0.9842 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.196e-06/1.293, allocations: 0 / 0.9842 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.701e-06/1.293, allocations: 0 / 0.9842 GB, free: 2.898 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009352/1.294, allocations: 0.5772 MB / 0.9848 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/1.294, allocations: 8.031 kB / 0.9848 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.216e-05/1.294, allocations: 46.55 kB / 0.9848 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/1.294, allocations: 27.81 kB / 0.9848 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/1.295, allocations: 254.7 kB / 0.9851 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/1.295, allocations: 23.98 kB / 0.9851 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.295, allocations: 32 kB / 0.9851 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/1.295, allocations: 160.2 kB / 0.9853 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/1.295, allocations: 0 / 0.9853 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/1.295, allocations: 8 kB / 0.9853 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/1.295, allocations: 0 / 0.9853 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/1.296, allocations: 83.89 kB / 0.9854 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/1.297, allocations: 0.7033 MB / 0.9861 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/1.297, allocations: 171.6 kB / 0.9862 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/1.297, allocations: 0 / 0.9862 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003995/1.298, allocations: 160.5 kB / 0.9864 GB, free: 440 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 2.544e-06/1.298, allocations: 0 / 0.9864 GB, free: 440 kB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0005615/1.298, allocations: 238.6 kB / 0.9866 GB, free: 196 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/1.298, allocations: 67.33 kB / 0.9867 GB, free: 116 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/1.299, allocations: 178.9 kB / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-05/1.299, allocations: 37.7 kB / 0.9869 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/1.299, allocations: 124.4 kB / 0.987 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/1.299, allocations: 43.5 kB / 0.987 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/1.299, allocations: 16 kB / 0.9871 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002198/1.299, allocations: 326.8 kB / 0.9874 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/1.299, allocations: 155.9 kB / 0.9875 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/1.3, allocations: 240 kB / 0.9878 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/1.3, allocations: 280.4 kB / 0.988 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.3, allocations: 0 / 0.988 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001008/1.301, allocations: 0.6309 MB / 0.9886 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001745/1.301, allocations: 166 kB / 0.9888 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.302, allocations: 0 / 0.9888 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/1.302, allocations: 8 kB / 0.9888 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.639e-05/1.302, allocations: 7.938 kB / 0.9888 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/1.302, allocations: 4.344 kB / 0.9888 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009954/1.303, allocations: 201.4 kB / 0.989 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.021e-05/1.303, allocations: 35.97 kB / 0.989 GB, free: 13.54 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002669/1.303, allocations: 151 kB / 0.9892 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/1.303, allocations: 27.75 kB / 0.9892 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.248e-05/1.303, allocations: 21.86 kB / 0.9892 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.303, allocations: 0 / 0.9892 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.303, allocations: 0 / 0.9892 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/1.303, allocations: 0 / 0.9892 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008107/1.304, allocations: 0.5138 MB / 0.9897 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.304, allocations: 0 / 0.9897 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/1.304, allocations: 7.984 kB / 0.9897 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.304, allocations: 96 / 0.9897 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/1.304, allocations: 15.94 kB / 0.9898 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/1.304, allocations: 0 / 0.9898 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.304, allocations: 64 / 0.9898 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/1.305, allocations: 289.2 kB / 0.99 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/1.305, allocations: 92.88 kB / 0.9901 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/1.305, allocations: 4 kB / 0.9901 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/1.305, allocations: 7.984 kB / 0.9901 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.149e-05/1.305, allocations: 15.98 kB / 0.9901 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/1.305, allocations: 15.98 kB / 0.9902 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001603/1.305, allocations: 125.2 kB / 0.9903 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.71e-07/1.305, allocations: 0 / 0.9903 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006779/1.306, allocations: 79.94 kB / 0.9904 GB, free: 12.09 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/1.307, allocations: 0.8346 MB / 0.9912 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001154/1.308, allocations: 0.6101 MB / 0.9918 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.308, allocations: 0 / 0.9918 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/1.308, allocations: 77.28 kB / 0.9918 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/1.309, allocations: 48.64 kB / 0.9919 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/1.311, allocations: 2.298 MB / 0.9941 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/1.312, allocations: 0.7364 MB / 0.9949 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001371/1.312, allocations: 21.55 kB / 0.9949 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/1.312, allocations: 51.42 kB / 0.9949 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of SimCode: time 1.143e-06/1.312, allocations: 0 / 0.9949 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/1.339, allocations: 5.8 MB / 1.001 GB, free: 1.602 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/1.339, allocations: 182.7 kB / 1.001 GB, free: 1.367 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.667/4.006, allocations: 0 / 1.001 GB, free: 1.367 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat does not exist to compare? outputFormat=mat