Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Logit1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_11_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.001768/0.001768, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.807/2.807, allocations: 469.8 MB / 0.7424 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 70.28 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2593, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002161/0.2615, allocations: 1.229 MB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008049/0.2624, allocations: 432.5 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.2624, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.2624, allocations: 3.938 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.362e-05/0.2625, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.263, allocations: 103.7 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.167e-05/0.263, allocations: 23.91 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.2631, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.318e-05/0.2631, allocations: 11.92 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.509e-05/0.2631, allocations: 12 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.2631, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.2633, allocations: 107.8 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.2634, allocations: 4 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.2634, allocations: 15.91 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.2636, allocations: 87.89 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.2636, allocations: 0 / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2636, allocations: 0 / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.2636, allocations: 0 / 1.066 GB, free: 12.22 MB / 0.8262 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.0004463/0.264, allocations: 385.4 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.2641, allocations: 8.031 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.272e-05/0.2641, allocations: 42.64 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.2642, allocations: 0.9375 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.2643, allocations: 160.4 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2643, allocations: 4.375 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.2643, allocations: 384 / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.68e-05/0.2644, allocations: 46.19 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2644, allocations: 3.938 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.2644, allocations: 7.922 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.2645, allocations: 4 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/0.2645, allocations: 4 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.2648, allocations: 249 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.2649, allocations: 42.44 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.2649, allocations: 16.86 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.265, allocations: 4 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.2651, allocations: 59.39 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.2651, allocations: 0 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0001874/0.2653, allocations: 65.69 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.2653, allocations: 67.33 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.775e-05/0.2654, allocations: 93.86 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.2654, allocations: 29.7 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.2655, allocations: 84.14 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.2655, allocations: 23.73 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.2655, allocations: 17.72 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.2657, allocations: 318.8 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.2657, allocations: 8 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.132e-05/0.2657, allocations: 35.42 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.645e-05/0.2658, allocations: 55.8 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2658, allocations: 7.875 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001027/0.2659, allocations: 73.61 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.266, allocations: 9.719 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.266, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.266, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/0.266, allocations: 12 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.2661, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.147e-05/0.2661, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.2661, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 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.824e-05/0.2662, allocations: 117.8 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.2662, allocations: 7.906 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.2662, allocations: 7.562 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2662, allocations: 0 / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.2662, allocations: 0 / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2662, allocations: 4 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.2665, allocations: 302.5 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2665, allocations: 0 / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.2665, allocations: 4 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2666, allocations: 3.938 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.2666, allocations: 0 / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2666, allocations: 0 / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2666, allocations: 4 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.2667, allocations: 167.5 kB / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.505e-05/0.2668, allocations: 84.95 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.2668, allocations: 0 / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.569e-05/0.2669, allocations: 0 / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.2669, allocations: 7.984 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.2669, allocations: 0 / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.118e-05/0.2669, allocations: 83.28 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2669, allocations: 0 / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002676/0.2672, allocations: 39.92 kB / 1.069 GB, free: 9.133 MB / 0.8262 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.0006998/0.2679, allocations: 0.7731 MB / 1.069 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.268, allocations: 35.92 kB / 1.069 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2681, allocations: 4.125 kB / 1.069 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.734e-05/0.2681, allocations: 15.92 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.2683, allocations: 16.2 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.2693, allocations: 1.257 MB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.2696, allocations: 0.6807 MB / 1.071 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.839e-05/0.2696, allocations: 3.984 kB / 1.071 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.2697, allocations: 15.44 kB / 1.071 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2697, allocations: 0 / 1.071 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.834/2.104, allocations: 1.972 MB / 1.073 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/12.12, allocations: 3.938 kB / 1.073 GB, free: 4.281 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,time,x,y