Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.008275/0.008275, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001821/0.001821, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.569/2.569, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.89 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9803/0.9817, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01423/0.996, allocations: 10.91 MB / 1.177 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01466/1.011, allocations: 8.799 MB / 1.185 GB, free: 8 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/1.013, allocations: 59.8 kB / 1.185 GB, free: 15.95 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004898/1.017, allocations: 1.676 MB / 1.187 GB, free: 14.27 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005668/1.023, allocations: 1.568 MB / 1.189 GB, free: 12.7 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002258/1.025, allocations: 0.6766 MB / 1.189 GB, free: 12.02 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003794/1.029, allocations: 2.275 MB / 1.192 GB, free: 9.738 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002419/1.032, allocations: 1.399 MB / 1.193 GB, free: 8.305 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/1.034, allocations: 0.9965 MB / 1.194 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/1.036, allocations: 1.023 MB / 1.195 GB, free: 6.277 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005008/1.036, allocations: 140 kB / 1.195 GB, free: 6.141 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/1.038, allocations: 0.7955 MB / 1.196 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000881/1.039, allocations: 0.5686 MB / 1.196 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00182/1.041, allocations: 0.8823 MB / 1.197 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004424/1.046, allocations: 2.562 MB / 1.2 GB, free: 1.316 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/1.046, allocations: 0 / 1.2 GB, free: 1.316 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/1.046, allocations: 0 / 1.2 GB, free: 1.316 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001193/1.046, allocations: 4 kB / 1.2 GB, free: 1.312 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005338/1.051, allocations: 2.029 MB / 1.202 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.051, allocations: 8.922 kB / 1.202 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004212/1.052, allocations: 186.1 kB / 1.202 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/1.063, allocations: 2.054 MB / 1.204 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00383/1.066, allocations: 1.212 MB / 1.205 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/1.067, allocations: 86.69 kB / 1.205 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006069/1.067, allocations: 119.9 kB / 1.205 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007051/1.074, allocations: 2.482 MB / 1.208 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.484e-05/1.074, allocations: 15.83 kB / 1.208 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/1.075, allocations: 51.98 kB / 1.208 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003913/1.075, allocations: 130.1 kB / 1.208 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007343/1.082, allocations: 2.537 MB / 1.21 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01641/1.099, allocations: 10.02 MB / 1.22 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006116/1.105, allocations: 1.952 MB / 1.222 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002795/1.108, allocations: 0.9699 MB / 1.223 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-05/1.108, allocations: 12.42 kB / 1.223 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/1.108, allocations: 39 kB / 1.223 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=53): time 3.086e-06/1.108, allocations: 4 kB / 1.223 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of matching and sorting (n=81): time 0.03448/1.143, allocations: 8.707 MB / 1.232 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/1.143, allocations: 71.92 kB / 1.232 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/1.145, allocations: 1.097 MB / 1.233 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001782/1.145, allocations: 41.7 kB / 1.233 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005985/1.145, allocations: 0.7341 MB / 1.233 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003744/1.146, allocations: 279.9 kB / 1.234 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005068/1.146, allocations: 202.4 kB / 1.234 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.146, allocations: 345.9 kB / 1.234 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002877/1.149, allocations: 1.067 MB / 1.235 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002986/1.152, allocations: 1.313 MB / 1.237 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005763/1.158, allocations: 2.378 MB / 1.239 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/1.158, allocations: 0 / 1.239 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008845/1.167, allocations: 3.276 MB / 1.242 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/1.167, allocations: 8 kB / 1.242 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/1.167, allocations: 4 kB / 1.242 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002996/1.17, allocations: 0.7996 MB / 1.243 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/1.172, allocations: 423.2 kB / 1.243 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/1.189, allocations: 15.91 MB / 1.259 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/1.191, allocations: 291.6 kB / 1.259 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002623/1.192, allocations: 55.91 kB / 1.259 GB, free: 1.961 MB / 0.9825 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009174/1.193, allocations: 402.9 kB / 1.259 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000431/1.193, allocations: 142.3 kB / 1.26 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008799/1.202, allocations: 3.202 MB / 1.263 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/1.202, allocations: 8 kB / 1.263 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.41e-05/1.202, allocations: 8 kB / 1.263 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/1.202, allocations: 3.984 kB / 1.263 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/1.214, allocations: 4.901 MB / 1.268 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.214, allocations: 4 kB / 1.268 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/1.216, allocations: 355.7 kB / 1.268 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002691/1.218, allocations: 0.7135 MB / 1.269 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/1.218, allocations: 35.89 kB / 1.269 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02352/1.242, allocations: 15.53 MB / 1.284 GB, free: 7.355 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/1.242, allocations: 4 kB / 1.284 GB, free: 7.352 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/1.255, allocations: 3.043 MB / 1.287 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.256, allocations: 379.2 kB / 1.287 GB, free: 3.836 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004969/1.257, allocations: 23.98 kB / 1.287 GB, free: 3.812 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/1.259, allocations: 295.4 kB / 1.287 GB, free: 3.523 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003125/1.259, allocations: 76.5 kB / 1.288 GB, free: 3.449 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1.259, allocations: 39.97 kB / 1.288 GB, free: 3.41 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001249/1.261, allocations: 0.7405 MB / 1.288 GB, free: 2.668 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/1.261, allocations: 0 / 1.288 GB, free: 2.668 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001967/1.263, allocations: 432 kB / 1.289 GB, free: 2.246 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.008601/1.271, allocations: 3.617 MB / 1.292 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00847/1.28, allocations: 3.633 MB / 1.296 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.28, allocations: 0 / 1.296 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0049/1.285, allocations: 2.364 MB / 1.298 GB, free: 8.336 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/1.288, allocations: 0.5299 MB / 1.299 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03537/1.323, allocations: 15.8 MB / 1.314 GB, free: 7.602 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/1.324, allocations: 1.388 MB / 1.315 GB, free: 6.184 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001478/1.326, allocations: 379.8 kB / 1.316 GB, free: 5.809 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009728/1.327, allocations: 0.6008 MB / 1.316 GB, free: 5.207 MB / 1.045 GB Notification: Performance of SimCode: time 9.32e-07/1.327, allocations: 0 / 1.316 GB, free: 5.207 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09392/1.421, allocations: 41.51 MB / 1.357 GB, free: 12.21 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/15.56, allocations: 14.14 kB / 1.357 GB, free: 12.2 MB / 1.092 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches