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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001291/0.001291, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001349/0.001349, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.622/2.622, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 72.23 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2518, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002214/0.254, allocations: 1.298 MB / 1.053 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008199/0.2549, allocations: 474.5 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.815e-05/0.2549, allocations: 0 / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.2549, allocations: 0 / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.78e-05/0.255, allocations: 0 / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.2554, allocations: 91.78 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.835e-05/0.2554, allocations: 27.86 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.411e-05/0.2555, allocations: 0 / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.098e-05/0.2555, allocations: 15.98 kB / 1.054 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.243e-05/0.2555, allocations: 3.938 kB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.2556, allocations: 4 kB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.2557, allocations: 99.83 kB / 1.054 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.2558, allocations: 11.98 kB / 1.054 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.2558, allocations: 11.92 kB / 1.054 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.256, allocations: 95.81 kB / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.256, allocations: 8 kB / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.256, allocations: 0 / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.256, allocations: 3.938 kB / 1.054 GB, free: 6.094 MB / 0.8106 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.00041/0.2564, allocations: 385.4 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2565, allocations: 19.95 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.2565, allocations: 30.75 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.2565, allocations: 0.9375 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.511e-05/0.2566, allocations: 172.2 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.2567, allocations: 384 / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.2567, allocations: 12.38 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.419e-05/0.2568, allocations: 38.23 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2568, allocations: 3.938 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.2568, allocations: 4 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.2568, allocations: 0 / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.307e-05/0.2569, allocations: 8 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.2571, allocations: 241 kB / 1.055 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.336e-05/0.2572, allocations: 46.44 kB / 1.055 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.2573, allocations: 24.92 kB / 1.055 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.2573, allocations: 0 / 1.055 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.2574, allocations: 59.41 kB / 1.055 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.2574, allocations: 0 / 1.055 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.000188/0.2576, allocations: 77.61 kB / 1.055 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.2577, allocations: 59.41 kB / 1.055 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.249e-05/0.2577, allocations: 105.8 kB / 1.055 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.2578, allocations: 25.7 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.2578, allocations: 88.05 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.2578, allocations: 15.84 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.2579, allocations: 21.7 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.258, allocations: 314.8 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.258, allocations: 15.98 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.258, allocations: 31.44 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.58e-05/0.2581, allocations: 51.36 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2581, allocations: 3.938 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001006/0.2582, allocations: 73.56 kB / 1.056 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.2582, allocations: 13.44 kB / 1.056 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.2582, allocations: 4 kB / 1.056 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2583, allocations: 3.984 kB / 1.056 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.2583, allocations: 8 kB / 1.056 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.2583, allocations: 0 / 1.056 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.2584, allocations: 4 kB / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.2584, allocations: 4 kB / 1.056 GB, free: 3.902 MB / 0.8106 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 7.413e-05/0.2585, allocations: 117.7 kB / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.2585, allocations: 8.031 kB / 1.056 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.2585, allocations: 11.95 kB / 1.056 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2585, allocations: 0 / 1.056 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2585, allocations: 0 / 1.056 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2585, allocations: 0 / 1.056 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.2588, allocations: 310.4 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2588, allocations: 0.5625 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.725e-05/0.2588, allocations: 4 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2588, allocations: 0 / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.2588, allocations: 4 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.2588, allocations: 8 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2588, allocations: 0 / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.259, allocations: 171.4 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.259, allocations: 81.05 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.259, allocations: 4 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.186e-05/0.2591, allocations: 0 / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.2591, allocations: 0 / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.2591, allocations: 11.98 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.194e-05/0.2592, allocations: 83.28 kB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2592, allocations: 0 / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002756/0.2595, allocations: 39.92 kB / 1.057 GB, free: 2.965 MB / 0.8106 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.0006038/0.2601, allocations: 0.7773 MB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.403e-05/0.2602, allocations: 28.3 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2602, allocations: 4 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.2602, allocations: 15.94 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.2604, allocations: 3.984 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009424/0.2614, allocations: 1.286 MB / 1.059 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.2616, allocations: 0.677 MB / 1.06 GB, free: 40 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.013e-05/0.2616, allocations: 4 kB / 1.06 GB, free: 36 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.2617, allocations: 19.42 kB / 1.06 GB, free: 16 kB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.2617, allocations: 7.938 kB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01094/0.2726, allocations: 1.939 MB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.2728, allocations: 256.4 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/1.93, allocations: 0 / 1.062 GB, free: 13.94 MB / 0.8262 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/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) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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