Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.0009366/0.0009365, allocations: 91.44 kB / 15.06 MB, free: 1.078 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.001103/0.001103, allocations: 176.7 kB / 15.95 MB, free: 192 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.413/1.413, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.601/2.601, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003753, allocations: 12 kB / 0.8378 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7735/0.7739, allocations: 146.8 MB / 0.9811 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001279/0.7753, allocations: 0.9372 MB / 0.982 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007495/0.776, allocations: 433.2 kB / 0.9825 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.7761, allocations: 7.938 kB / 0.9825 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.7761, allocations: 0 / 0.9825 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.487e-05/0.7761, allocations: 0 / 0.9825 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.7766, allocations: 83.78 kB / 0.9825 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.291e-05/0.7766, allocations: 19.92 kB / 0.9826 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.7767, allocations: 7.984 kB / 0.9826 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.209e-05/0.7767, allocations: 11.94 kB / 0.9826 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.105e-05/0.7767, allocations: 7.984 kB / 0.9826 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.7768, allocations: 4 kB / 0.9826 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.7769, allocations: 91.84 kB / 0.9827 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.777, allocations: 8 kB / 0.9827 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.777, allocations: 25.7 kB / 0.9827 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.7771, allocations: 75.81 kB / 0.9828 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.7772, allocations: 0 / 0.9828 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.098e-06/0.7772, allocations: 0 / 0.9828 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.7772, allocations: 3.938 kB / 0.9828 GB, free: 4.492 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004537/0.7776, allocations: 376.8 kB / 0.9831 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.7777, allocations: 12.03 kB / 0.9832 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.893e-05/0.7777, allocations: 38.55 kB / 0.9832 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.7778, allocations: 3.906 kB / 0.9832 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.7779, allocations: 167 kB / 0.9834 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.7779, allocations: 0 / 0.9834 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.7779, allocations: 4 kB / 0.9834 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.791e-05/0.778, allocations: 45.62 kB / 0.9834 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.778, allocations: 4 kB / 0.9834 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.7781, allocations: 0 / 0.9834 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.7781, allocations: 4 kB / 0.9834 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.247e-05/0.7781, allocations: 7.938 kB / 0.9834 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.7784, allocations: 245 kB / 0.9837 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.757e-05/0.7785, allocations: 34.56 kB / 0.9837 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.7786, allocations: 24.89 kB / 0.9837 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.7786, allocations: 4 kB / 0.9837 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.7787, allocations: 59.33 kB / 0.9838 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.7788, allocations: 0 / 0.9838 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0001982/0.779, allocations: 73.77 kB / 0.9838 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.779, allocations: 63.34 kB / 0.9839 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.104e-05/0.7791, allocations: 113.8 kB / 0.984 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.7791, allocations: 25.7 kB / 0.984 GB, free: 3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.7792, allocations: 88.14 kB / 0.9841 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.7792, allocations: 11.91 kB / 0.9841 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.7792, allocations: 0 / 0.9841 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7793, allocations: 318.8 kB / 0.9844 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.7793, allocations: 4 kB / 0.9844 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.911e-05/0.7794, allocations: 39.36 kB / 0.9845 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.886e-05/0.7794, allocations: 16 kB / 0.9845 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7794, allocations: 0 / 0.9845 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001158/0.7796, allocations: 81.47 kB / 0.9846 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.7796, allocations: 4 kB / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.7796, allocations: 0 / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.7796, allocations: 4 kB / 0.9846 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.7797, allocations: 15.94 kB / 0.9846 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7797, allocations: 0 / 0.9846 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.683e-05/0.7797, allocations: 3.938 kB / 0.9846 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.7797, allocations: 8.062 kB / 0.9846 GB, free: 2.387 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 7.59e-05/0.7798, allocations: 117.8 kB / 0.9847 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.7798, allocations: 7.859 kB / 0.9847 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.7798, allocations: 7.969 kB / 0.9847 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7799, allocations: 0 / 0.9847 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7799, allocations: 0 / 0.9847 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.7799, allocations: 0 / 0.9847 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.7802, allocations: 310.5 kB / 0.985 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7802, allocations: 4 kB / 0.985 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.7802, allocations: 4 kB / 0.985 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7802, allocations: 0 / 0.985 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.7802, allocations: 0 / 0.985 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7802, allocations: 0 / 0.985 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7802, allocations: 0 / 0.985 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.7804, allocations: 155.5 kB / 0.9852 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.7804, allocations: 88.97 kB / 0.9853 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.7805, allocations: 4.375 kB / 0.9853 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.7805, allocations: 4 kB / 0.9853 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.7805, allocations: 15.86 kB / 0.9853 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.7806, allocations: 4 kB / 0.9853 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.567e-05/0.7806, allocations: 83.28 kB / 0.9854 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7806, allocations: 3.938 kB / 0.9854 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002716/0.7809, allocations: 31.98 kB / 0.9854 GB, free: 1.461 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006798/0.7816, allocations: 0.7734 MB / 0.9862 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.7817, allocations: 27.92 kB / 0.9862 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7817, allocations: 4 kB / 0.9862 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.7817, allocations: 15.98 kB / 0.9862 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.782, allocations: 9.375 kB / 0.9862 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006697/0.7826, allocations: 429 kB / 0.9866 GB, free: 144 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.7829, allocations: 0.6848 MB / 0.9873 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.113e-05/0.783, allocations: 0 / 0.9873 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.783, allocations: 15.42 kB / 0.9873 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of SimCode: time 4e-07/0.783, allocations: 0 / 0.9873 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01164/0.7946, allocations: 1.852 MB / 0.9891 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.7948, allocations: 239.6 kB / 0.9893 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.636, allocations: 4.062 kB / 0.9893 GB, free: 13.46 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat does not exist to compare? outputFormat=mat