Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",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.001299/0.001302, 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.001318/0.001318, allocations: 197.8 kB / 16.54 MB, free: 6.672 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.615/2.615, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 73.86 kB / 0.9087 GB, free: 34.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2587, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004733/0.2635, allocations: 3.08 MB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00261/0.2661, allocations: 1.726 MB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.2662, allocations: 4 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009148/0.2671, allocations: 331.5 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004057/0.2676, allocations: 223.1 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.268, allocations: 171.5 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.2683, allocations: 315 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003658/0.2687, allocations: 244.9 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.2688, allocations: 139.5 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.2691, allocations: 163.4 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.2692, allocations: 24 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003727/0.2696, allocations: 235.5 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.2697, allocations: 99.77 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.2698, allocations: 127.4 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.2703, allocations: 414.7 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2703, allocations: 4 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2703, allocations: 0 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2703, allocations: 0 / 1.071 GB, free: 6.895 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008774/0.2712, allocations: 0.5476 MB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.2712, allocations: 12.03 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/0.2713, allocations: 58.72 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006877/0.272, allocations: 92.55 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.2723, allocations: 248 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.2723, allocations: 12.81 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/0.2724, allocations: 40.47 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.273, allocations: 376.9 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.273, allocations: 0 / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.273, allocations: 8 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.509e-05/0.2731, allocations: 32.41 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004678/0.2736, allocations: 305.5 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.2753, allocations: 1.537 MB / 1.074 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.2757, allocations: 231.1 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.2759, allocations: 116.8 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.276, allocations: 89.09 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.2761, allocations: 38.55 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.2761, allocations: 0 / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.001208/0.2773, allocations: 0.7953 MB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.2773, allocations: 51.41 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.2776, allocations: 203.1 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.2776, allocations: 29.7 kB / 1.076 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.641e-05/0.2777, allocations: 151.9 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.652e-05/0.2777, allocations: 75 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.451e-05/0.2778, allocations: 53.7 kB / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.278, allocations: 334.8 kB / 1.076 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.2782, allocations: 107.9 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.2784, allocations: 165.9 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.2788, allocations: 299.1 kB / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2788, allocations: 0 / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007226/0.2795, allocations: 419.8 kB / 1.077 GB, free: 96 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.2795, allocations: 8 kB / 1.077 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2795, allocations: 7.922 kB / 1.077 GB, free: 80 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003973/0.2799, allocations: 101 kB / 1.077 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.2802, allocations: 47.91 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.2821, allocations: 1.867 MB / 1.079 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.2823, allocations: 28 kB / 1.079 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.2824, allocations: 12 kB / 1.079 GB, free: 13.88 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.2825, allocations: 157.7 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.2826, allocations: 19.8 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004776/0.2831, allocations: 303.2 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2831, allocations: 8 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.2831, allocations: 0 / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2831, allocations: 3.938 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008752/0.284, allocations: 0.6991 MB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.284, allocations: 4.188 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.2843, allocations: 55.95 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.2843, allocations: 11.88 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.2843, allocations: 4 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.2843, allocations: 15.98 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.2843, allocations: 0 / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/0.285, allocations: 0.512 MB / 1.081 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.2851, allocations: 112.9 kB / 1.081 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.2851, allocations: 7.984 kB / 1.081 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.2853, allocations: 16.05 kB / 1.081 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.2853, allocations: 19.92 kB / 1.081 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.2854, allocations: 4 kB / 1.081 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001389/0.2855, allocations: 152 kB / 1.081 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2855, allocations: 0 / 1.081 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003346/0.2858, allocations: 68 kB / 1.081 GB, free: 11.61 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0009374/0.2868, allocations: 1.061 MB / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000712/0.2875, allocations: 452.4 kB / 1.083 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2875, allocations: 4.125 kB / 1.083 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.2877, allocations: 119.9 kB / 1.083 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.288, allocations: 27.98 kB / 1.083 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.2916, allocations: 2.88 MB / 1.086 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.292, allocations: 0.7714 MB / 1.087 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000157/0.2921, allocations: 53.91 kB / 1.087 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2923, allocations: 71.41 kB / 1.087 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2923, allocations: 0 / 1.087 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8609/1.153, allocations: 5.02 MB / 1.092 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/15.4, allocations: 8.188 kB / 1.092 GB, free: 1.117 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches