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.001042/0.001042, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001065/0.001065, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.525/2.525, allocations: 409.4 MB / 0.684 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003706, allocations: 11.94 kB / 0.8378 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7219/0.7223, allocations: 146.8 MB / 0.9812 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001308/0.7236, allocations: 0.5406 MB / 0.9817 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.7256, allocations: 1.44 MB / 0.9831 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.924e-05/0.7257, allocations: 3.938 kB / 0.9831 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.7258, allocations: 19.86 kB / 0.9831 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.598e-05/0.7259, allocations: 23.83 kB / 0.9831 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.7273, allocations: 482.8 kB / 0.9836 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004022/0.7277, allocations: 371.2 kB / 0.9839 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.7279, allocations: 41.47 kB / 0.984 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.7281, allocations: 155.7 kB / 0.9841 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.7283, allocations: 123.6 kB / 0.9843 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.558e-05/0.7284, allocations: 24 kB / 0.9843 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.7285, allocations: 39.98 kB / 0.9843 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.7285, allocations: 31.84 kB / 0.9843 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.945e-05/0.7286, allocations: 69.64 kB / 0.9844 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.7289, allocations: 285.6 kB / 0.9847 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.729, allocations: 0 / 0.9847 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.285e-06/0.729, allocations: 0 / 0.9847 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.729, allocations: 0 / 0.9847 GB, free: 2.746 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.0007237/0.7297, allocations: 0.5772 MB / 0.9852 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.7298, allocations: 8.031 kB / 0.9853 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.7299, allocations: 42.55 kB / 0.9853 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.191e-05/0.73, allocations: 35.81 kB / 0.9853 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.7303, allocations: 262.7 kB / 0.9856 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.7303, allocations: 16 kB / 0.9856 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/0.7304, allocations: 31.98 kB / 0.9856 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.7307, allocations: 156.7 kB / 0.9858 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.7307, allocations: 3.938 kB / 0.9858 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.7307, allocations: 4 kB / 0.9858 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.7308, allocations: 4 kB / 0.9858 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.7309, allocations: 83.89 kB / 0.9859 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008381/0.7317, allocations: 0.7072 MB / 0.9866 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.7319, allocations: 171.6 kB / 0.9867 GB, free: 448 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.897e-05/0.732, allocations: 44.84 kB / 0.9868 GB, free: 400 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.732, allocations: 0 / 0.9868 GB, free: 400 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.7323, allocations: 160.5 kB / 0.9869 GB, free: 228 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.293e-06/0.7323, allocations: 4 kB / 0.9869 GB, free: 224 kB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0004718/0.7328, allocations: 238.8 kB / 0.9871 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.7329, allocations: 59.34 kB / 0.9872 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.733, allocations: 174.8 kB / 0.9874 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.7331, allocations: 41.7 kB / 0.9874 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.7332, allocations: 128.3 kB / 0.9875 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.7332, allocations: 39.52 kB / 0.9876 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.7333, allocations: 12 kB / 0.9876 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7335, allocations: 330.9 kB / 0.9879 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.7338, allocations: 155.8 kB / 0.988 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.7341, allocations: 234.2 kB / 0.9883 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.7344, allocations: 294.4 kB / 0.9885 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.7344, allocations: 0 / 0.9885 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009399/0.7354, allocations: 0.627 MB / 0.9892 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.7355, allocations: 164.5 kB / 0.9893 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.7355, allocations: 4 kB / 0.9893 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.7356, allocations: 4 kB / 0.9893 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.837e-05/0.7356, allocations: 11.92 kB / 0.9893 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.7356, allocations: 4 kB / 0.9893 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008024/0.7364, allocations: 198.7 kB / 0.9895 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.113e-05/0.7365, allocations: 31.98 kB / 0.9896 GB, free: 13.34 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.0001666/0.7367, allocations: 153.8 kB / 0.9897 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.7367, allocations: 23.75 kB / 0.9897 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.7367, allocations: 21.88 kB / 0.9898 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.7368, allocations: 3.938 kB / 0.9898 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.7368, allocations: 4 kB / 0.9898 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7368, allocations: 0 / 0.9898 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005269/0.7373, allocations: 0.5114 MB / 0.9903 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7373, allocations: 0 / 0.9903 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.7373, allocations: 4 kB / 0.9903 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.7374, allocations: 0 / 0.9903 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.7374, allocations: 11.92 kB / 0.9903 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7374, allocations: 0 / 0.9903 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7374, allocations: 4 kB / 0.9903 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.7377, allocations: 277 kB / 0.9905 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.7377, allocations: 92.88 kB / 0.9906 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.7378, allocations: 15.97 kB / 0.9906 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.7378, allocations: 0 / 0.9906 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.7379, allocations: 24.03 kB / 0.9907 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.7379, allocations: 12 kB / 0.9907 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.294e-05/0.738, allocations: 129.2 kB / 0.9908 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.738, allocations: 0 / 0.9908 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003493/0.7384, allocations: 83.92 kB / 0.9909 GB, free: 11.89 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.0006262/0.739, allocations: 0.8254 MB / 0.9917 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007403/0.7398, allocations: 0.6192 MB / 0.9923 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.7398, allocations: 0 / 0.9923 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.7399, allocations: 75.91 kB / 0.9924 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.7403, allocations: 48.59 kB / 0.9924 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.7426, allocations: 1.482 MB / 0.9939 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.7429, allocations: 0.7323 MB / 0.9946 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.835e-05/0.743, allocations: 25.53 kB / 0.9946 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.743, allocations: 51.42 kB / 0.9946 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of SimCode: time 4.31e-07/0.743, allocations: 0 / 0.9946 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.7592, allocations: 5.869 MB / 1 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.7594, allocations: 188 kB / 1.001 GB, free: 1.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.666, allocations: 3.938 kB / 1.001 GB, free: 1.926 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