Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_9_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.01053/0.01053, allocations: 108.4 kB / 15.74 MB, free: 6.453 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.002263/0.002263, allocations: 196.6 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.455/2.455, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 66.5 kB / 0.9504 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3339, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002517/0.3364, allocations: 1.215 MB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3375, allocations: 464.2 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.3376, allocations: 3.938 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.3376, allocations: 0 / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.047e-05/0.3377, allocations: 3.938 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006901/0.3384, allocations: 111.6 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.107e-05/0.3385, allocations: 27.84 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.3385, allocations: 7.984 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.765e-05/0.3386, allocations: 8 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.257e-05/0.3386, allocations: 11.92 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.3386, allocations: 0 / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.3388, allocations: 103.8 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.3389, allocations: 7.922 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.3389, allocations: 11.94 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.3391, allocations: 99.8 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3392, allocations: 4 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3392, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3392, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 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.0005626/0.3397, allocations: 384 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3398, allocations: 8.031 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.887e-05/0.3399, allocations: 30.75 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.3399, allocations: 8.938 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.34, allocations: 168.9 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.3401, allocations: 12.3 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.3401, allocations: 4.375 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.3402, allocations: 46.23 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3402, allocations: 3.938 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.3402, allocations: 0 / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.3403, allocations: 0 / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.729e-05/0.3403, allocations: 11.98 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.3406, allocations: 249.2 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.3408, allocations: 42.45 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.3408, allocations: 16.94 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.3408, allocations: 0 / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.341, allocations: 63.39 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.341, allocations: 0 / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002231/0.3412, allocations: 69.62 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3413, allocations: 63.41 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.3414, allocations: 105.8 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3414, allocations: 29.7 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.3415, allocations: 84.08 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.3415, allocations: 11.89 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.3415, allocations: 21.72 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3417, allocations: 318.8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/0.3417, allocations: 8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.076e-05/0.3417, allocations: 39.42 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.257e-05/0.3418, allocations: 43.38 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3418, allocations: 3.938 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001287/0.3419, allocations: 81.52 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.342, allocations: 8 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.342, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.342, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.3421, allocations: 15.94 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.3421, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.942e-05/0.3421, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.3422, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.672e-05/0.3422, allocations: 121.8 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.3423, allocations: 3.906 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.3423, allocations: 11.97 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3423, allocations: 4.578 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3423, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3423, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.3426, allocations: 310.4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3426, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.702e-05/0.3427, allocations: 8 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3427, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.3427, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3427, allocations: 4 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3427, allocations: 4 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.3429, allocations: 163.4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.3429, allocations: 81.02 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3429, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.499e-05/0.343, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.343, allocations: 3.984 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3431, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.507e-05/0.3431, allocations: 91.28 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3431, allocations: 3.938 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002941/0.3434, allocations: 35.92 kB / 1.092 GB, free: 12.79 MB / 0.8575 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 (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.0007645/0.3442, allocations: 0.7742 MB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.3443, allocations: 31.92 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3443, allocations: 0 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.652e-05/0.3444, allocations: 23.92 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.3446, allocations: 4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.3459, allocations: 1.285 MB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.3462, allocations: 0.6807 MB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.3463, allocations: 4 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.3463, allocations: 11.44 kB / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of SimCode: time 2.8e-07/0.3463, allocations: 0 / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.3659, allocations: 2.084 MB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.149, allocations: 13.72 kB / 1.097 GB, free: 7.848 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,time,x,y