Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.001057/0.001056, allocations: 108 kB / 15.61 MB, free: 152 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.001111/0.001111, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 55.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5855/0.5868, allocations: 140.4 MB / 0.9497 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00413/0.5909, allocations: 3.266 MB / 0.9529 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.5936, allocations: 2.024 MB / 0.9549 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.5937, allocations: 5.031 kB / 0.9549 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000802/0.5945, allocations: 291.2 kB / 0.9552 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004109/0.5949, allocations: 229.8 kB / 0.9554 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.5955, allocations: 297 kB / 0.9557 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.5959, allocations: 406.8 kB / 0.9561 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.5962, allocations: 201.7 kB / 0.9563 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.5964, allocations: 160.4 kB / 0.9564 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.5967, allocations: 193 kB / 0.9566 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.213e-05/0.5967, allocations: 25.09 kB / 0.9566 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003563/0.5971, allocations: 273.6 kB / 0.9569 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.972e-05/0.5972, allocations: 121.7 kB / 0.957 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.5974, allocations: 143.8 kB / 0.9571 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004779/0.5978, allocations: 496.4 kB / 0.9576 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5979, allocations: 0 / 0.9576 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5979, allocations: 0 / 0.9576 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.5979, allocations: 1.125 kB / 0.9576 GB, free: 3.391 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009076/0.5988, allocations: 0.5925 MB / 0.9582 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.5988, allocations: 14.53 kB / 0.9582 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.843e-05/0.5989, allocations: 64.39 kB / 0.9583 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009389/0.5998, allocations: 116.6 kB / 0.9584 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.6001, allocations: 272.3 kB / 0.9586 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.6002, allocations: 19.25 kB / 0.9586 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.6003, allocations: 45.44 kB / 0.9587 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.6009, allocations: 452.4 kB / 0.9591 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.6009, allocations: 1.094 kB / 0.9591 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.601, allocations: 10.81 kB / 0.9591 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.6011, allocations: 44.06 kB / 0.9592 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.6017, allocations: 360.4 kB / 0.9595 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.6039, allocations: 2.227 MB / 0.9617 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.6044, allocations: 266.3 kB / 0.9619 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.6047, allocations: 163.1 kB / 0.9621 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.6047, allocations: 2.438 kB / 0.9621 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.6047, allocations: 39.84 kB / 0.9621 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.984e-06/0.6047, allocations: 0 / 0.9621 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.001867/0.6066, allocations: 1.06 MB / 0.9632 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.6067, allocations: 51.41 kB / 0.9632 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.607, allocations: 261.2 kB / 0.9635 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.607, allocations: 34.73 kB / 0.9635 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.6071, allocations: 190.8 kB / 0.9637 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.556e-05/0.6072, allocations: 85.98 kB / 0.9638 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.6073, allocations: 76.25 kB / 0.9638 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.6074, allocations: 332.8 kB / 0.9642 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.6077, allocations: 158.7 kB / 0.9643 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.6081, allocations: 245.6 kB / 0.9645 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/0.6087, allocations: 405.7 kB / 0.9649 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6087, allocations: 3.938 kB / 0.9649 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001248/0.6099, allocations: 0.6025 MB / 0.9655 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.61, allocations: 10.56 kB / 0.9655 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.61, allocations: 2.156 kB / 0.9655 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006859/0.6107, allocations: 191.3 kB / 0.9657 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.611, allocations: 66.48 kB / 0.9658 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/0.6138, allocations: 2.494 MB / 0.9682 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.6143, allocations: 24.12 kB / 0.9682 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.6143, allocations: 22.94 kB / 0.9683 GB, free: 10.89 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002085/0.6145, allocations: 168.6 kB / 0.9684 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.6146, allocations: 23.69 kB / 0.9684 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005891/0.6152, allocations: 353 kB / 0.9688 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6152, allocations: 2.781 kB / 0.9688 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.6152, allocations: 1.312 kB / 0.9688 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.6152, allocations: 3.984 kB / 0.9688 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.6163, allocations: 0.8133 MB / 0.9696 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.6163, allocations: 0 / 0.9696 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.6167, allocations: 77.62 kB / 0.9697 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.6167, allocations: 1.875 kB / 0.9697 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.6168, allocations: 7.031 kB / 0.9697 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6168, allocations: 3.188 kB / 0.9697 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6168, allocations: 0 / 0.9697 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007818/0.6176, allocations: 0.6209 MB / 0.9703 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.6177, allocations: 120.7 kB / 0.9704 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.6178, allocations: 19.02 kB / 0.9704 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.618, allocations: 14.58 kB / 0.9704 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.6181, allocations: 15.58 kB / 0.9704 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.6181, allocations: 13.06 kB / 0.9705 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002221/0.6183, allocations: 188.2 kB / 0.9706 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6183, allocations: 0 / 0.9706 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004561/0.6188, allocations: 90.12 kB / 0.9707 GB, free: 9.168 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[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 (24): * Single equations (assignments): 24 * 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.001051/0.6198, allocations: 1.163 MB / 0.9719 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.6209, allocations: 0.5845 MB / 0.9724 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6209, allocations: 0 / 0.9724 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.6211, allocations: 147.8 kB / 0.9726 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.6216, allocations: 53.55 kB / 0.9726 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005612/0.6272, allocations: 3.682 MB / 0.9762 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.6277, allocations: 0.7917 MB / 0.977 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002869/0.628, allocations: 78.98 kB / 0.9771 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.6281, allocations: 81.56 kB / 0.9771 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.6281, allocations: 3.938 kB / 0.9771 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.6554, allocations: 6.819 MB / 0.9838 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.791/9.447, allocations: 4 kB / 0.9838 GB, free: 14.2 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches