Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_10_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.006301/0.006301, allocations: 99.11 kB / 15.73 MB, free: 6.039 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.001616/0.001616, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437.1 MB / 0.7106 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2691, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.00218/0.2713, allocations: 1.21 MB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008381/0.2722, allocations: 438.9 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.2722, allocations: 0 / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.2722, allocations: 3.938 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.605e-05/0.2723, allocations: 7.984 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.2728, allocations: 111.5 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.703e-05/0.2729, allocations: 15.98 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.2729, allocations: 7.984 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.215e-05/0.2729, allocations: 7.984 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.612e-05/0.273, allocations: 3.938 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.273, allocations: 4 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.2732, allocations: 103.8 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.2732, allocations: 4 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.2732, allocations: 11.92 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.2734, allocations: 99.97 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2735, allocations: 0 / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2735, allocations: 0 / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2735, allocations: 0 / 1.168 GB, free: 5.27 MB / 0.92 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.0005048/0.274, allocations: 377 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.274, allocations: 12.03 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.983e-05/0.2741, allocations: 34.73 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.2741, allocations: 8.891 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2742, allocations: 172.3 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.2743, allocations: 4.375 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.2743, allocations: 4.375 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.2744, allocations: 42.23 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2744, allocations: 3.938 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.2744, allocations: 4 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2744, allocations: 0 / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.274e-05/0.2745, allocations: 4 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.2748, allocations: 244.9 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.2749, allocations: 46.44 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.2749, allocations: 12.86 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.275, allocations: 0 / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.2751, allocations: 63.48 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 3.146e-06/0.2751, allocations: 4 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002097/0.2753, allocations: 85.55 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.2754, allocations: 55.39 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.505e-05/0.2755, allocations: 97.86 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.2755, allocations: 29.7 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.2756, allocations: 88.12 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.2756, allocations: 7.906 kB / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.2756, allocations: 21.72 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2758, allocations: 322.8 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.367e-05/0.2758, allocations: 8 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.294e-05/0.2758, allocations: 35.42 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.928e-05/0.2759, allocations: 43.38 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.2759, allocations: 7.875 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001097/0.276, allocations: 81.61 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2761, allocations: 4 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2761, allocations: 3.938 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2761, allocations: 4 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.2761, allocations: 8 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2762, allocations: 0 / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.135e-05/0.2762, allocations: 0 / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.2762, allocations: 4 kB / 1.17 GB, free: 3.098 MB / 0.92 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.952e-05/0.2763, allocations: 129.8 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.2763, allocations: 3.953 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.2763, allocations: 3.562 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2763, allocations: 4 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2763, allocations: 0 / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2764, allocations: 0 / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.2766, allocations: 306.5 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2766, allocations: 0 / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/0.2767, allocations: 0 / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2767, allocations: 4 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2767, allocations: 7.938 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2767, allocations: 0 / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2767, allocations: 0 / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.2769, allocations: 167.7 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.2769, allocations: 81.06 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.2769, allocations: 8 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.691e-05/0.277, allocations: 0 / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.277, allocations: 3.984 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.277, allocations: 8.281 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.896e-05/0.2771, allocations: 79.27 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2771, allocations: 0 / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002698/0.2773, allocations: 39.86 kB / 1.171 GB, free: 2.164 MB / 0.92 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.0007425/0.2781, allocations: 0.7697 MB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.2782, allocations: 27.98 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2782, allocations: 0 / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.596e-05/0.2783, allocations: 19.94 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.2785, allocations: 0 / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.2796, allocations: 1.285 MB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.2799, allocations: 0.6768 MB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.947e-05/0.2799, allocations: 4 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.28, allocations: 11.44 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.28, allocations: 4 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.904/1.184, allocations: 2.011 MB / 1.176 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.55, allocations: 19.94 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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