Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.0009375/0.0009375, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005289/0.005289, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.23/1.23, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.354/2.354, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002958, allocations: 8 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5502/0.5506, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00592/0.5565, allocations: 5.676 MB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004219/0.5608, allocations: 3.13 MB / 1.032 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.5611, allocations: 23.81 kB / 1.032 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.5613, allocations: 126.9 kB / 1.032 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008098/0.5622, allocations: 430 kB / 1.032 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008571/0.563, allocations: 443.1 kB / 1.033 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.5642, allocations: 1.459 MB / 1.034 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.5657, allocations: 0.9921 MB / 1.035 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003819/0.5661, allocations: 362.3 kB / 1.035 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004552/0.5665, allocations: 446.2 kB / 1.036 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.267e-05/0.5666, allocations: 28 kB / 1.036 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000734/0.5673, allocations: 0.573 MB / 1.036 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002119/0.5675, allocations: 255.2 kB / 1.037 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002957/0.5679, allocations: 383.7 kB / 1.037 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009735/0.5688, allocations: 1.17 MB / 1.038 GB, free: 368 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5688, allocations: 0 / 1.038 GB, free: 368 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5689, allocations: 4 kB / 1.038 GB, free: 364 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.5689, allocations: 0 / 1.038 GB, free: 364 kB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001234/0.5701, allocations: 0.9016 MB / 1.039 GB, free: 15.4 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.5701, allocations: 8.031 kB / 1.039 GB, free: 15.39 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.5703, allocations: 118.6 kB / 1.039 GB, free: 15.27 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.5717, allocations: 231.6 kB / 1.039 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006502/0.5723, allocations: 0.5298 MB / 1.04 GB, free: 14.47 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.5724, allocations: 41.69 kB / 1.04 GB, free: 14.43 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.686e-05/0.5725, allocations: 68.25 kB / 1.04 GB, free: 14.36 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.5738, allocations: 1.03 MB / 1.041 GB, free: 13.23 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.5738, allocations: 7.938 kB / 1.041 GB, free: 13.22 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/0.5739, allocations: 32 kB / 1.041 GB, free: 13.19 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.841e-05/0.574, allocations: 65.27 kB / 1.041 GB, free: 13.12 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009475/0.5749, allocations: 0.6918 MB / 1.042 GB, free: 12.43 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004333/0.5793, allocations: 5.776 MB / 1.047 GB, free: 6.227 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007396/0.58, allocations: 0.5919 MB / 1.048 GB, free: 5.59 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007012/0.5807, allocations: 420.6 kB / 1.048 GB, free: 5.176 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.5808, allocations: 4 kB / 1.048 GB, free: 5.172 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.5808, allocations: 34.56 kB / 1.049 GB, free: 5.129 MB / 0.795 GB Notification: Performance of pre-optimization done (n=41): time 2.194e-06/0.5808, allocations: 0 / 1.049 GB, free: 5.129 MB / 0.795 GB Notification: Performance of matching and sorting (n=42): time 0.004055/0.5849, allocations: 2.069 MB / 1.051 GB, free: 2.961 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.5849, allocations: 59.39 kB / 1.051 GB, free: 2.891 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004043/0.5853, allocations: 454.8 kB / 1.051 GB, free: 2.434 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.5854, allocations: 33.64 kB / 1.051 GB, free: 2.395 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.5856, allocations: 391 kB / 1.051 GB, free: 2.008 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.5857, allocations: 145.9 kB / 1.052 GB, free: 1.863 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/0.5858, allocations: 53.69 kB / 1.052 GB, free: 1.805 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5859, allocations: 358.8 kB / 1.052 GB, free: 1.445 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.5862, allocations: 249.2 kB / 1.052 GB, free: 1.203 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/0.5867, allocations: 457.5 kB / 1.053 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008193/0.5875, allocations: 0.7595 MB / 1.053 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5875, allocations: 0 / 1.053 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001707/0.5892, allocations: 1.07 MB / 1.054 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5892, allocations: 8 kB / 1.054 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.5892, allocations: 8 kB / 1.054 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009589/0.5902, allocations: 327.3 kB / 1.055 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.5905, allocations: 95.83 kB / 1.055 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005973/0.5965, allocations: 6.958 MB / 1.062 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.5969, allocations: 31.97 kB / 1.062 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/0.5969, allocations: 27.98 kB / 1.062 GB, free: 6.719 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002824/0.5972, allocations: 249.5 kB / 1.062 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.92e-05/0.5973, allocations: 55.34 kB / 1.062 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.5989, allocations: 0.9235 MB / 1.063 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.5989, allocations: 4 kB / 1.063 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5989, allocations: 4 kB / 1.063 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5989, allocations: 0 / 1.063 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.6013, allocations: 1.7 MB / 1.065 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6013, allocations: 4.375 kB / 1.065 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.6015, allocations: 55.84 kB / 1.065 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008851/0.6024, allocations: 319.4 kB / 1.065 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.6024, allocations: 8 kB / 1.065 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00583/0.6083, allocations: 6.946 MB / 1.072 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6083, allocations: 0 / 1.072 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.6098, allocations: 1.015 MB / 1.073 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.61, allocations: 172.4 kB / 1.073 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.6101, allocations: 8 kB / 1.073 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.6104, allocations: 27.91 kB / 1.073 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.831e-05/0.6104, allocations: 47.83 kB / 1.073 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.6105, allocations: 15.98 kB / 1.073 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002908/0.6108, allocations: 306.9 kB / 1.073 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6108, allocations: 0 / 1.073 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006595/0.6114, allocations: 196 kB / 1.073 GB, free: 9.961 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001754/0.6132, allocations: 1.57 MB / 1.075 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.6149, allocations: 1.192 MB / 1.076 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.6149, allocations: 4.125 kB / 1.076 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.616, allocations: 0.8658 MB / 1.077 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.617, allocations: 185.2 kB / 1.077 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007419/0.6244, allocations: 6.256 MB / 1.083 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.6249, allocations: 0.992 MB / 1.084 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002891/0.6252, allocations: 101.2 kB / 1.084 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.6255, allocations: 227.4 kB / 1.085 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.6255, allocations: 3.938 kB / 1.085 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8401/1.466, allocations: 14.43 MB / 1.099 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/1.466, allocations: 226.6 kB / 1.099 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/3.514, allocations: 0 / 1.099 GB, free: 15.64 MB / 0.8575 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches