Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_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.007783/0.007783, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001958/0.001958, allocations: 188.9 kB / 16.67 MB, free: 5.969 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.545/2.545, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 55.91 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2979, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004834/0.3027, allocations: 3.272 MB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003179/0.3059, allocations: 2.006 MB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.3062, allocations: 11.88 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009612/0.3071, allocations: 298.8 kB / 1.213 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006063/0.3078, allocations: 227 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007291/0.3085, allocations: 286 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005389/0.3091, allocations: 414.7 kB / 1.214 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.3095, allocations: 208.2 kB / 1.214 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.3098, allocations: 163.5 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.3102, allocations: 199.3 kB / 1.214 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.3103, allocations: 24 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005428/0.3108, allocations: 255.5 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.311, allocations: 127.6 kB / 1.215 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.3112, allocations: 151.2 kB / 1.215 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007622/0.312, allocations: 490.8 kB / 1.215 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.312, allocations: 8 kB / 1.215 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.924e-06/0.312, allocations: 0 / 1.215 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.329e-05/0.3121, allocations: 0 / 1.215 GB, free: 2.027 MB / 0.9669 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.001253/0.3133, allocations: 0.5964 MB / 1.216 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3134, allocations: 8.625 kB / 1.216 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.941e-05/0.3135, allocations: 74.72 kB / 1.216 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.3145, allocations: 112.5 kB / 1.216 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.3149, allocations: 284.4 kB / 1.216 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.315, allocations: 12.94 kB / 1.216 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.3151, allocations: 40.48 kB / 1.216 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.3159, allocations: 457.1 kB / 1.217 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.3159, allocations: 0 / 1.217 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.109e-05/0.3159, allocations: 23.92 kB / 1.217 GB, free: 312 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/0.3161, allocations: 40.53 kB / 1.217 GB, free: 272 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006365/0.3167, allocations: 362 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/0.3193, allocations: 2.214 MB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.3198, allocations: 266.4 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.32, allocations: 164.8 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.32, allocations: 0 / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.32, allocations: 42.56 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.32, allocations: 0 / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.001723/0.3218, allocations: 1.04 MB / 1.221 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.3218, allocations: 67.2 kB / 1.221 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.3221, allocations: 256.8 kB / 1.221 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.3222, allocations: 33.7 kB / 1.221 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3223, allocations: 188 kB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/0.3223, allocations: 86.75 kB / 1.221 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.3225, allocations: 77.58 kB / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3226, allocations: 334.8 kB / 1.222 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.3229, allocations: 159.9 kB / 1.222 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.3232, allocations: 241.5 kB / 1.222 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.3238, allocations: 410.8 kB / 1.222 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3238, allocations: 7.938 kB / 1.223 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001162/0.325, allocations: 0.5894 MB / 1.223 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.325, allocations: 8 kB / 1.223 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.325, allocations: 0 / 1.223 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006845/0.3257, allocations: 196.8 kB / 1.223 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.326, allocations: 67.89 kB / 1.223 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.329, allocations: 2.501 MB / 1.226 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.3294, allocations: 19.98 kB / 1.226 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.3294, allocations: 19.98 kB / 1.226 GB, free: 6.422 MB / 0.9825 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.0001776/0.3296, allocations: 165.8 kB / 1.226 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.3297, allocations: 23.72 kB / 1.226 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005265/0.3302, allocations: 352.2 kB / 1.226 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3302, allocations: 4 kB / 1.226 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3302, allocations: 0 / 1.226 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3302, allocations: 0 / 1.226 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.3313, allocations: 0.816 MB / 1.227 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3313, allocations: 4.062 kB / 1.227 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.3317, allocations: 75.88 kB / 1.227 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.3317, allocations: 0 / 1.227 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.3318, allocations: 8 kB / 1.227 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3318, allocations: 3.938 kB / 1.227 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3318, allocations: 4 kB / 1.227 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007929/0.3326, allocations: 0.6143 MB / 1.228 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.3328, allocations: 128.8 kB / 1.228 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.3328, allocations: 15.88 kB / 1.228 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.3331, allocations: 15.97 kB / 1.228 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.3331, allocations: 15.92 kB / 1.228 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3332, allocations: 4 kB / 1.228 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002249/0.3334, allocations: 188.5 kB / 1.228 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3334, allocations: 4 kB / 1.228 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004123/0.3338, allocations: 92 kB / 1.228 GB, free: 3.797 MB / 0.9825 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.0009905/0.3348, allocations: 1.158 MB / 1.229 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009257/0.3358, allocations: 0.5333 MB / 1.23 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3358, allocations: 0 / 1.23 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.336, allocations: 148.5 kB / 1.23 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.3364, allocations: 64.45 kB / 1.23 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004978/0.3414, allocations: 3.69 MB / 1.234 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3418, allocations: 0.7912 MB / 1.235 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002199/0.342, allocations: 78.91 kB / 1.235 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.3422, allocations: 87.34 kB / 1.235 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.3422, allocations: 8 kB / 1.235 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.3704, allocations: 7.033 MB / 1.242 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.464/9.834, allocations: 25.62 kB / 1.242 GB, free: 6.133 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches