Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.001201/0.001201, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001191/0.001191, allocations: 177.3 kB / 15.94 MB, free: 228 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.532/1.532, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.652/2.652, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003631, allocations: 8 kB / 0.8375 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9165/0.9169, allocations: 146.8 MB / 0.9809 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001295/0.9182, allocations: 0.9294 MB / 0.9818 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008591/0.9191, allocations: 405.4 kB / 0.9821 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.9191, allocations: 4 kB / 0.9822 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.9192, allocations: 3.938 kB / 0.9822 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.809e-05/0.9192, allocations: 4 kB / 0.9822 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.9197, allocations: 75.77 kB / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.952e-05/0.9198, allocations: 15.98 kB / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.638e-05/0.9198, allocations: 0 / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.733e-05/0.9199, allocations: 11.92 kB / 0.9823 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.132e-05/0.9199, allocations: 8 kB / 0.9823 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.9199, allocations: 0 / 0.9823 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.9201, allocations: 83.78 kB / 0.9823 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.9201, allocations: 11.94 kB / 0.9824 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.9202, allocations: 29.7 kB / 0.9824 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.9203, allocations: 63.89 kB / 0.9824 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.9203, allocations: 0 / 0.9824 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.375e-06/0.9203, allocations: 0 / 0.9824 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.9204, allocations: 0 / 0.9824 GB, free: 4.688 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.0004613/0.9208, allocations: 375.3 kB / 0.9828 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.9209, allocations: 8.031 kB / 0.9828 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.874e-05/0.9209, allocations: 34.56 kB / 0.9828 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.921, allocations: 11.94 kB / 0.9829 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.9211, allocations: 167 kB / 0.983 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.9211, allocations: 4 kB / 0.983 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.9212, allocations: 0 / 0.983 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.9213, allocations: 45.64 kB / 0.9831 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.9213, allocations: 0 / 0.9831 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.9213, allocations: 3.938 kB / 0.9831 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.9213, allocations: 0 / 0.9831 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.967e-05/0.9213, allocations: 4 kB / 0.9831 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.9217, allocations: 256.8 kB / 0.9833 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.751e-05/0.9218, allocations: 34.58 kB / 0.9833 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.9218, allocations: 3.953 kB / 0.9834 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.922, allocations: 59.48 kB / 0.9834 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.922, allocations: 4 kB / 0.9834 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0001982/0.9222, allocations: 69.62 kB / 0.9835 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.9222, allocations: 63.39 kB / 0.9835 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.848e-05/0.9223, allocations: 93.86 kB / 0.9836 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.9223, allocations: 29.7 kB / 0.9837 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.9224, allocations: 80.14 kB / 0.9837 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.9224, allocations: 19.8 kB / 0.9838 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.9224, allocations: 0 / 0.9838 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.9225, allocations: 314.8 kB / 0.9841 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.9225, allocations: 12 kB / 0.9841 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.663e-05/0.9226, allocations: 31.42 kB / 0.9841 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.9226, allocations: 20.11 kB / 0.9841 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.9226, allocations: 0 / 0.9841 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001122/0.9227, allocations: 77.56 kB / 0.9842 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.9228, allocations: 8.062 kB / 0.9842 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.9228, allocations: 0 / 0.9842 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.9228, allocations: 4 kB / 0.9842 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.9229, allocations: 8 kB / 0.9842 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.9229, allocations: 3.984 kB / 0.9842 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.9229, allocations: 3.906 kB / 0.9842 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.9229, allocations: 8.094 kB / 0.9842 GB, free: 2.625 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 9.125e-05/0.923, allocations: 119.5 kB / 0.9843 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.923, allocations: 3.953 kB / 0.9843 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.9231, allocations: 11.56 kB / 0.9844 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.9231, allocations: 4 kB / 0.9844 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9231, allocations: 0 / 0.9844 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.9231, allocations: 0 / 0.9844 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.9234, allocations: 298.5 kB / 0.9846 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.9234, allocations: 3.953 kB / 0.9846 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.635e-05/0.9235, allocations: 11.88 kB / 0.9847 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.9235, allocations: 0 / 0.9847 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.9235, allocations: 4 kB / 0.9847 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.9235, allocations: 7.984 kB / 0.9847 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.9235, allocations: 3.984 kB / 0.9847 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.9237, allocations: 159.8 kB / 0.9848 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.9237, allocations: 85.06 kB / 0.9849 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.9237, allocations: 0 / 0.9849 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.032e-05/0.9238, allocations: 3.984 kB / 0.9849 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.9238, allocations: 4 kB / 0.9849 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.9238, allocations: 0 / 0.9849 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.999e-05/0.9239, allocations: 87.28 kB / 0.985 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.9239, allocations: 0 / 0.985 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002791/0.9242, allocations: 31.98 kB / 0.985 GB, free: 1.707 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.0007176/0.9249, allocations: 0.7779 MB / 0.9858 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.925, allocations: 27.92 kB / 0.9858 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.925, allocations: 4 kB / 0.9858 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/0.9251, allocations: 12 kB / 0.9858 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.9252, allocations: 3.984 kB / 0.9858 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007143/0.9259, allocations: 0.7976 MB / 0.9866 GB, free: 8 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.9262, allocations: 0.6848 MB / 0.9873 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.961e-05/0.9262, allocations: 8 kB / 0.9873 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.9262, allocations: 11.44 kB / 0.9873 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.9263, allocations: 4 kB / 0.9873 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.9394, allocations: 1.757 MB / 0.989 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.9396, allocations: 224 kB / 0.9892 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.701, allocations: 0 / 0.9892 GB, free: 13.4 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat does not exist to compare? outputFormat=mat