Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_11_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.006317/0.006317, allocations: 101 kB / 15.73 MB, free: 6.445 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.001362/0.001362, allocations: 191.6 kB / 16.67 MB, free: 6.348 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.574/2.574, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 55.91 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.263, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002149/0.2652, allocations: 1.227 MB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008345/0.2661, allocations: 456.3 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.2661, allocations: 0 / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.2661, allocations: 4 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.958e-05/0.2662, allocations: 3.938 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.2667, allocations: 111.6 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.189e-05/0.2667, allocations: 23.86 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.4e-05/0.2668, allocations: 4 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.321e-05/0.2668, allocations: 11.98 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.931e-05/0.2668, allocations: 15.86 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.2669, allocations: 0 / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.2671, allocations: 107.8 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.2671, allocations: 8 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.2671, allocations: 7.938 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.2673, allocations: 103.7 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2673, allocations: 0 / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2673, allocations: 0 / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2674, allocations: 0 / 1.222 GB, free: 12.24 MB / 0.9825 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.0004585/0.2678, allocations: 392.7 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2679, allocations: 12.03 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.2679, allocations: 30.75 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.2679, allocations: 8.922 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2681, allocations: 172.3 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.2681, allocations: 384 / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.2681, allocations: 8.312 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.671e-05/0.2682, allocations: 38.25 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2682, allocations: 3.938 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.2682, allocations: 7.984 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.2682, allocations: 0 / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.191e-05/0.2683, allocations: 4 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.2686, allocations: 253 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.938e-05/0.2687, allocations: 42.44 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.2687, allocations: 12.86 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.2688, allocations: 0 / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.2689, allocations: 67.48 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.2689, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002036/0.2691, allocations: 77.56 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.2692, allocations: 55.41 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.356e-05/0.2692, allocations: 105.8 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.2693, allocations: 29.7 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.2693, allocations: 80.14 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.2693, allocations: 15.89 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.2694, allocations: 21.7 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2695, allocations: 322.8 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.2695, allocations: 4 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.333e-05/0.2696, allocations: 35.42 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.359e-05/0.2696, allocations: 51.36 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2696, allocations: 7.938 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000105/0.2698, allocations: 73.56 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.2698, allocations: 7.938 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.2698, allocations: 4 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2698, allocations: 3.938 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.459e-05/0.2699, allocations: 15.92 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.2699, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.611e-05/0.2699, allocations: 8 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.2699, allocations: 4 kB / 1.224 GB, free: 10.04 MB / 0.9825 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.544e-05/0.27, allocations: 113.8 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.27, allocations: 11.95 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.27, allocations: 3.969 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.27, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2701, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2701, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.2703, allocations: 302.5 kB / 1.224 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2703, allocations: 0.5625 kB / 1.224 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-05/0.2704, allocations: 4 kB / 1.224 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2704, allocations: 7.984 kB / 1.224 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2704, allocations: 8 kB / 1.224 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2704, allocations: 4 kB / 1.224 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2704, allocations: 0 / 1.224 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.2706, allocations: 159.4 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.2706, allocations: 85.05 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.2706, allocations: 4 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.07e-05/0.2707, allocations: 4 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.2707, allocations: 4 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.2707, allocations: 4 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.434e-05/0.2708, allocations: 83.27 kB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2708, allocations: 0 / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002651/0.271, allocations: 39.81 kB / 1.225 GB, free: 9.109 MB / 0.9825 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.0007076/0.2718, allocations: 0.7814 MB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.999e-05/0.2719, allocations: 32.23 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2719, allocations: 0 / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.785e-05/0.2719, allocations: 15.94 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.2721, allocations: 11.98 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.2733, allocations: 1.302 MB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.2737, allocations: 0.6807 MB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.866e-05/0.2737, allocations: 4 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.2737, allocations: 19.42 kB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.2737, allocations: 0 / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.33/1.604, allocations: 2.083 MB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/12.59, allocations: 9.766 kB / 1.23 GB, free: 4.145 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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